Get rid of caddr_t.

This commit is contained in:
Dag-Erling Smørgrav 2003-03-02 22:23:45 +00:00
parent f2c3715aa7
commit 7b726be320
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ typedef int (*pfs_vis_t)(PFS_VIS_ARGS);
*/
#define PFS_IOCTL_ARGS \
struct thread *td, struct proc *p, struct pfs_node *pn, \
unsigned long cmd, caddr_t data
unsigned long cmd, void *data
#define PFS_IOCTL_PROTO(name) \
int name(PFS_IOCTL_ARGS);
typedef int (*pfs_ioctl_t)(PFS_IOCTL_ARGS);

View File

@ -652,7 +652,7 @@ pfs_readdir(struct vop_readdir_args *va)
panic("%s has unexpected node type: %d", pn->pn_name, pn->pn_type);
}
PFS_TRACE((entry.d_name));
if ((error = uiomove((caddr_t)&entry, PFS_DELEN, uio))) {
if ((error = uiomove(&entry, PFS_DELEN, uio))) {
sx_sunlock(&allproc_lock);
PFS_RETURN (error);
}