diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-11-16 11:39:11 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-11-16 11:39:11 +0000 |
commit | fcf985ad5d7d968e612ff8676e90d76009fa9e8a (patch) | |
tree | 97268492fc47b25e908191693fafbcda89fc607e /sys/fs/procfs/procfs.h | |
parent | d77206b33be8d1c5ba08263e3358033716a294fd (diff) | |
download | src-fcf985ad5d7d968e612ff8676e90d76009fa9e8a.tar.gz src-fcf985ad5d7d968e612ff8676e90d76009fa9e8a.zip |
Moved declarations for static functions to the correct place (not in a
header).
Removed stupid comments.
Notes
Notes:
svn path=/head/; revision=12337
Diffstat (limited to 'sys/fs/procfs/procfs.h')
-rw-r--r-- | sys/fs/procfs/procfs.h | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/sys/fs/procfs/procfs.h b/sys/fs/procfs/procfs.h index f21813f77e90..ddb575727b4f 100644 --- a/sys/fs/procfs/procfs.h +++ b/sys/fs/procfs/procfs.h @@ -36,7 +36,7 @@ * * @(#)procfs.h 8.6 (Berkeley) 2/3/94 * - * $Id: procfs.h,v 1.6 1995/11/07 13:39:29 phk Exp $ + * $Id: procfs.h,v 1.7 1995/11/09 08:16:01 bde Exp $ */ /* @@ -141,48 +141,5 @@ extern vop_t **procfs_vnodeop_p; extern struct vfsops procfs_vfsops; int procfs_root __P((struct mount *, struct vnode **)); - -/* - * Prototypes for procfs vnode ops - */ -static int procfs_badop(); /* varargs */ int procfs_rw __P((struct vop_read_args *)); -static int procfs_lookup __P((struct vop_lookup_args *)); -#define procfs_create ((int (*) __P((struct vop_create_args *))) procfs_badop) -#define procfs_mknod ((int (*) __P((struct vop_mknod_args *))) procfs_badop) -static int procfs_open __P((struct vop_open_args *)); -static int Procfs_close __P((struct vop_close_args *)); -static int procfs_access __P((struct vop_access_args *)); -static int procfs_getattr __P((struct vop_getattr_args *)); -static int procfs_setattr __P((struct vop_setattr_args *)); -#define procfs_read procfs_rw -#define procfs_write procfs_rw -static int procfs_ioctl __P((struct vop_ioctl_args *)); -#define procfs_select ((int (*) __P((struct vop_select_args *))) procfs_badop) -#define procfs_mmap ((int (*) __P((struct vop_mmap_args *))) procfs_badop) -#define procfs_fsync ((int (*) __P((struct vop_fsync_args *))) procfs_badop) -#define procfs_seek ((int (*) __P((struct vop_seek_args *))) procfs_badop) -#define procfs_remove ((int (*) __P((struct vop_remove_args *))) procfs_badop) -#define procfs_link ((int (*) __P((struct vop_link_args *))) procfs_badop) -#define procfs_rename ((int (*) __P((struct vop_rename_args *))) procfs_badop) -#define procfs_mkdir ((int (*) __P((struct vop_mkdir_args *))) procfs_badop) -#define procfs_rmdir ((int (*) __P((struct vop_rmdir_args *))) procfs_badop) -#define procfs_symlink ((int (*) __P((struct vop_symlink_args *))) procfs_badop) -static int procfs_readdir __P((struct vop_readdir_args *)); -#define procfs_readlink ((int (*) __P((struct vop_readlink_args *))) procfs_badop) -static int procfs_abortop __P((struct vop_abortop_args *)); -static int procfs_inactive __P((struct vop_inactive_args *)); -static int procfs_reclaim __P((struct vop_reclaim_args *)); -#define procfs_lock ((int (*) __P((struct vop_lock_args *))) nullop) -#define procfs_unlock ((int (*) __P((struct vop_unlock_args *))) nullop) -#define procfs_bmap ((int (*) __P((struct vop_bmap_args *))) procfs_badop) -#define procfs_strategy ((int (*) __P((struct vop_strategy_args *))) procfs_badop) -static int procfs_print __P((struct vop_print_args *)); -#define procfs_islocked ((int (*) __P((struct vop_islocked_args *))) nullop) -#define procfs_advlock ((int (*) __P((struct vop_advlock_args *))) procfs_badop) -#define procfs_blkatoff ((int (*) __P((struct vop_blkatoff_args *))) procfs_badop) -#define procfs_valloc ((int (*) __P((struct vop_valloc_args *))) procfs_badop) -#define procfs_vfree ((int (*) __P((struct vop_vfree_args *))) nullop) -#define procfs_truncate ((int (*) __P((struct vop_truncate_args *))) procfs_badop) -#define procfs_update ((int (*) __P((struct vop_update_args *))) nullop) #endif /* KERNEL */ |