diff options
author | bp <bp@FreeBSD.org> | 2000-10-02 09:29:59 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-10-02 09:29:59 +0000 |
commit | 72e68d3b765994ed27cdd33c3f725fcc3328cac3 (patch) | |
tree | c23d1a50aaf65667b5e94dde23dd60c1670756fb /sys/fs/nwfs/nwfs_vfsops.c | |
parent | 63c8580965fb8c1c53d88656984c6012a23e61c1 (diff) | |
download | FreeBSD-src-72e68d3b765994ed27cdd33c3f725fcc3328cac3.zip FreeBSD-src-72e68d3b765994ed27cdd33c3f725fcc3328cac3.tar.gz |
Get rid from the legacy __P() macro. Remove 'register' keywords.
Diffstat (limited to 'sys/fs/nwfs/nwfs_vfsops.c')
-rw-r--r-- | sys/fs/nwfs/nwfs_vfsops.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c index 7be59e9..563911b 100644 --- a/sys/fs/nwfs/nwfs_vfsops.c +++ b/sys/fs/nwfs/nwfs_vfsops.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, Boris Popov + * Copyright (c) 1999, 2000 Boris Popov * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -69,19 +69,16 @@ SYSCTL_INT(_vfs_nwfs, OID_AUTO, debuglevel, CTLFLAG_RW, &nwfs_debuglevel, 0, "") MODULE_DEPEND(nwfs, ncp, 1, 1, 1); -static int nwfs_mount __P((struct mount *, char *, caddr_t, - struct nameidata *, struct proc *)); -static int nwfs_quotactl __P((struct mount *, int, uid_t, caddr_t, - struct proc *)); -static int nwfs_root __P((struct mount *, struct vnode **)); -static int nwfs_start __P((struct mount *, int, struct proc *)); -static int nwfs_statfs __P((struct mount *, struct statfs *, - struct proc *)); -static int nwfs_sync __P((struct mount *, int, struct ucred *, - struct proc *)); -static int nwfs_unmount __P((struct mount *, int, struct proc *)); -static int nwfs_init __P((struct vfsconf *vfsp)); -static int nwfs_uninit __P((struct vfsconf *vfsp)); +static int nwfs_mount(struct mount *, char *, caddr_t, + struct nameidata *, struct proc *); +static int nwfs_quotactl(struct mount *, int, uid_t, caddr_t, struct proc *); +static int nwfs_root(struct mount *, struct vnode **); +static int nwfs_start(struct mount *, int, struct proc *); +static int nwfs_statfs(struct mount *, struct statfs *, struct proc *); +static int nwfs_sync(struct mount *, int, struct ucred *, struct proc *); +static int nwfs_unmount(struct mount *, int, struct proc *); +static int nwfs_init(struct vfsconf *vfsp); +static int nwfs_uninit(struct vfsconf *vfsp); static struct vfsops nwfs_vfsops = { nwfs_mount, @@ -446,7 +443,7 @@ nwfs_uninit(struct vfsconf *vfsp) int nwfs_statfs(mp, sbp, p) struct mount *mp; - register struct statfs *sbp; + struct statfs *sbp; struct proc *p; { struct nwmount *nmp = VFSTONWFS(mp); @@ -496,7 +493,7 @@ nwfs_sync(mp, waitfor, cred, p) struct ucred *cred; struct proc *p; { - register struct vnode *vp; + struct vnode *vp; int error, allerror = 0; /* * Force stale buffer cache information to be flushed. |