diff options
| author | jrf <jrf@NetBSD.org> | 2004-04-27 17:37:30 +0000 |
|---|---|---|
| committer | jrf <jrf@NetBSD.org> | 2004-04-27 17:37:30 +0000 |
| commit | fc97fd571a8b001fa0dae33a1129a06147cd62bb (patch) | |
| tree | 05ebecf004fe0ab63f13409332952f9e3a41a04d /sys/miscfs/procfs | |
| parent | d1e0d393caec043454c7c1e83290754ff41987bb (diff) | |
First pass for some caddr_t removal and changes to get rid of it where we
no longer use and/or need it
- removed casts from unionfs, deadfs and fdesc
(there are more to hunt down still)
- changed vfs_quotactl args argumet from caddr_t to void *
- changed vfs_quotactl structures/callers to reflect the api change
Compiled fine and ran for about a day. Approved/reviewed by
christos@netbsd.org and gimpy@netbsd.org.
Diffstat (limited to 'sys/miscfs/procfs')
| -rw-r--r-- | sys/miscfs/procfs/procfs_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c index 43e8ee296c4..e91e8e24036 100644 --- a/sys/miscfs/procfs/procfs_vfsops.c +++ b/sys/miscfs/procfs/procfs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: procfs_vfsops.c,v 1.54 2004/04/21 02:42:28 christos Exp $ */ +/* $NetBSD: procfs_vfsops.c,v 1.55 2004/04/27 17:37:31 jrf Exp $ */ /* * Copyright (c) 1993 @@ -76,7 +76,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.54 2004/04/21 02:42:28 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: procfs_vfsops.c,v 1.55 2004/04/27 17:37:31 jrf Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -107,7 +107,7 @@ int procfs_mount __P((struct mount *, const char *, void *, struct nameidata *, struct proc *)); int procfs_start __P((struct mount *, int, struct proc *)); int procfs_unmount __P((struct mount *, int, struct proc *)); -int procfs_quotactl __P((struct mount *, int, uid_t, caddr_t, +int procfs_quotactl __P((struct mount *, int, uid_t, void *, struct proc *)); int procfs_statvfs __P((struct mount *, struct statvfs *, struct proc *)); int procfs_sync __P((struct mount *, int, struct ucred *, struct proc *)); @@ -255,7 +255,7 @@ procfs_quotactl(mp, cmds, uid, arg, p) struct mount *mp; int cmds; uid_t uid; - caddr_t arg; + void *arg; struct proc *p; { |
