Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs Remove __P()



details:   https://anonhg.NetBSD.org/src/rev/c85dbd677c49
branches:  trunk
changeset: 583934:c85dbd677c49
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Tue Aug 30 18:47:19 2005 +0000

description:
Remove __P()

diffstat:

 sys/fs/cd9660/cd9660_extern.h |  50 ++++++++++++++++----------------
 sys/fs/cd9660/cd9660_node.c   |   6 +-
 sys/fs/cd9660/cd9660_node.h   |  66 +++++++++++++++++++++---------------------
 sys/fs/cd9660/cd9660_rrip.c   |  40 +++++++++++++-------------
 sys/fs/cd9660/cd9660_vfsops.c |  10 +++---
 sys/fs/cd9660/cd9660_vnops.c  |  14 ++++----
 sys/fs/cd9660/iso_rrip.h      |  18 +++++-----
 sys/fs/msdosfs/msdosfsmount.h |   8 ++--
 8 files changed, 106 insertions(+), 106 deletions(-)

diffs (truncated from 386 to 300 lines):

diff -r e57ee81817e7 -r c85dbd677c49 sys/fs/cd9660/cd9660_extern.h
--- a/sys/fs/cd9660/cd9660_extern.h     Tue Aug 30 16:47:47 2005 +0000
+++ b/sys/fs/cd9660/cd9660_extern.h     Tue Aug 30 18:47:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_extern.h,v 1.13 2005/02/26 22:58:54 perry Exp $ */
+/*     $NetBSD: cd9660_extern.h,v 1.14 2005/08/30 18:47:19 xtraeme Exp $       */
 
 /*-
  * Copyright (c) 1994
@@ -95,34 +95,34 @@
 extern struct pool cd9660_node_pool;
 extern int cd9660_utf8_joliet;
 
-int cd9660_mount __P((struct mount *,
-           const char *, void *, struct nameidata *, struct proc *));
-int cd9660_start __P((struct mount *, int, struct proc *));
-int cd9660_unmount __P((struct mount *, int, struct proc *));
-int cd9660_root __P((struct mount *, struct vnode **));
-int cd9660_quotactl __P((struct mount *, int, uid_t, void *, struct proc *));
-int cd9660_statvfs __P((struct mount *, struct statvfs *, struct proc *));
-int cd9660_sync __P((struct mount *, int, struct ucred *, struct proc *));
-int cd9660_vget __P((struct mount *, ino_t, struct vnode **));
-int cd9660_fhtovp __P((struct mount *, struct fid *, struct vnode **));
-int cd9660_check_export __P((struct mount *, struct mbuf *, int *,
-           struct ucred **));
-int cd9660_vptofh __P((struct vnode *, struct fid *));
-void cd9660_init __P((void));
-void cd9660_reinit __P((void));
-void cd9660_done __P((void));
+int cd9660_mount(struct mount *,
+           const char *, void *, struct nameidata *, struct proc *);
+int cd9660_start(struct mount *, int, struct proc *);
+int cd9660_unmount(struct mount *, int, struct proc *);
+int cd9660_root(struct mount *, struct vnode **);
+int cd9660_quotactl(struct mount *, int, uid_t, void *, struct proc *);
+int cd9660_statvfs(struct mount *, struct statvfs *, struct proc *);
+int cd9660_sync(struct mount *, int, struct ucred *, struct proc *);
+int cd9660_vget(struct mount *, ino_t, struct vnode **);
+int cd9660_fhtovp(struct mount *, struct fid *, struct vnode **);
+int cd9660_check_export(struct mount *, struct mbuf *, int *,
+           struct ucred **);
+int cd9660_vptofh(struct vnode *, struct fid *);
+void cd9660_init(void);
+void cd9660_reinit(void);
+void cd9660_done(void);
 
 #ifdef SYSCTL_SETUP_PROTO
 SYSCTL_SETUP_PROTO(sysctl_vfs_cd9660_setup);
 #endif /* SYSCTL_SETUP_PROTO */
 
-int cd9660_mountroot __P((void));
+int cd9660_mountroot(void);
 
-extern int (**cd9660_vnodeop_p) __P((void *));
-extern int (**cd9660_specop_p) __P((void *));
-extern int (**cd9660_fifoop_p) __P((void *));
+extern int (**cd9660_vnodeop_p)(void *);
+extern int (**cd9660_specop_p)(void *);
+extern int (**cd9660_fifoop_p)(void *);
 
-int isochar __P((const u_char *, const u_char *, int, u_int16_t *));
-int isofncmp __P((const u_char *, size_t, const u_char *, size_t, int));
-void isofntrans __P((u_char *, int, u_char *, u_short *, int, int, int, int));
-ino_t isodirino __P((struct iso_directory_record *, struct iso_mnt *));
+int isochar(const u_char *, const u_char *, int, u_int16_t *);
+int isofncmp(const u_char *, size_t, const u_char *, size_t, int);
+void isofntrans(u_char *, int, u_char *, u_short *, int, int, int, int);
+ino_t isodirino(struct iso_directory_record *, struct iso_mnt *);
diff -r e57ee81817e7 -r c85dbd677c49 sys/fs/cd9660/cd9660_node.c
--- a/sys/fs/cd9660/cd9660_node.c       Tue Aug 30 16:47:47 2005 +0000
+++ b/sys/fs/cd9660/cd9660_node.c       Tue Aug 30 18:47:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_node.c,v 1.10 2005/05/29 21:00:29 christos Exp $        */
+/*     $NetBSD: cd9660_node.c,v 1.11 2005/08/30 18:47:19 xtraeme Exp $ */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1994
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_node.c,v 1.10 2005/05/29 21:00:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_node.c,v 1.11 2005/08/30 18:47:19 xtraeme Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -77,7 +77,7 @@
 POOL_INIT(cd9660_node_pool, sizeof(struct iso_node), 0, 0, 0, "cd9660nopl",
     &pool_allocator_nointr);
 
-static u_int cd9660_chars2ui __P((u_char *, int));
+static u_int cd9660_chars2ui(u_char *, int);
 
 /*
  * Initialize hash links for inodes and dnodes.
diff -r e57ee81817e7 -r c85dbd677c49 sys/fs/cd9660/cd9660_node.h
--- a/sys/fs/cd9660/cd9660_node.h       Tue Aug 30 16:47:47 2005 +0000
+++ b/sys/fs/cd9660/cd9660_node.h       Tue Aug 30 18:47:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_node.h,v 1.6 2004/06/20 20:44:06 dillo Exp $    */
+/*     $NetBSD: cd9660_node.h,v 1.7 2005/08/30 18:47:19 xtraeme Exp $  */
 
 /*-
  * Copyright (c) 1994
@@ -105,45 +105,45 @@
 /*
  * Prototypes for ISOFS vnode operations
  */
-int    cd9660_lookup   __P((void *));
+int    cd9660_lookup(void *);
 #define        cd9660_open     genfs_nullop
 #define        cd9660_close    genfs_nullop
-int    cd9660_access   __P((void *));
-int    cd9660_getattr  __P((void *));
-int    cd9660_read     __P((void *));
+int    cd9660_access(void *);
+int    cd9660_getattr(void *);
+int    cd9660_read(void *);
 #define        cd9660_ioctl    genfs_enoioctl
 #define        cd9660_poll     genfs_poll
 #define        cd9660_mmap     genfs_mmap
 #define        cd9660_seek     genfs_seek
-int    cd9660_readdir  __P((void *));
-int    cd9660_readlink __P((void *));
+int    cd9660_readdir(void *);
+int    cd9660_readlink(void *);
 #define        cd9660_abortop  genfs_abortop
-int    cd9660_inactive __P((void *));
-int    cd9660_reclaim  __P((void *));
-int    cd9660_link     __P((void *));
-int    cd9660_symlink  __P((void *));
-int    cd9660_bmap     __P((void *));
-int    cd9660_lock     __P((void *));
-int    cd9660_unlock   __P((void *));
-int    cd9660_strategy __P((void *));
-int    cd9660_print    __P((void *));
-int    cd9660_islocked __P((void *));
-int    cd9660_pathconf __P((void *));
-int    cd9660_setattr  __P((void *));
-int    cd9660_blkatoff __P((void *));
+int    cd9660_inactive(void *);
+int    cd9660_reclaim(void *);
+int    cd9660_link(void *);
+int    cd9660_symlink(void *);
+int    cd9660_bmap(void *);
+int    cd9660_lock(void *);
+int    cd9660_unlock(void *);
+int    cd9660_strategy(void *);
+int    cd9660_print(void *);
+int    cd9660_islocked(void *);
+int    cd9660_pathconf(void *));
+int    cd9660_setattr(void *);
+int    cd9660_blkatoff(void *);
 
-void   cd9660_defattr __P((struct iso_directory_record *,
-                       struct iso_node *, struct buf *));
-void   cd9660_deftstamp __P((struct iso_directory_record *,
-                       struct iso_node *, struct buf *));
-struct vnode *cd9660_ihashget __P((dev_t, ino_t));
-void   cd9660_ihashins __P((struct iso_node *));
-void   cd9660_ihashrem __P((struct iso_node *));
-int    cd9660_tstamp_conv7 __P((u_char *, struct timespec *));
-int    cd9660_tstamp_conv17 __P((u_char *, struct timespec *));
-int    cd9660_vget_internal __P((struct mount *, ino_t, struct vnode **, int,
-                             struct iso_directory_record *));
+void   cd9660_defattr(struct iso_directory_record *,
+                       struct iso_node *, struct buf *);
+void   cd9660_deftstamp(struct iso_directory_record *,
+                       struct iso_node *, struct buf *);
+struct vnode *cd9660_ihashget(dev_t, ino_t);
+void   cd9660_ihashins(struct iso_node *);
+void   cd9660_ihashrem(struct iso_node *);
+int    cd9660_tstamp_conv7(u_char *, struct timespec *);
+int    cd9660_tstamp_conv17(u_char *, struct timespec *);
+int    cd9660_vget_internal(struct mount *, ino_t, struct vnode **, int,
+                             struct iso_directory_record *);
 #ifdef ISODEVMAP
-struct iso_dnode *iso_dmap __P((dev_t, ino_t, int));
-void iso_dunmap __P((dev_t));
+struct iso_dnode *iso_dmap(dev_t, ino_t, int);
+void iso_dunmap(dev_t);
 #endif
diff -r e57ee81817e7 -r c85dbd677c49 sys/fs/cd9660/cd9660_rrip.c
--- a/sys/fs/cd9660/cd9660_rrip.c       Tue Aug 30 16:47:47 2005 +0000
+++ b/sys/fs/cd9660/cd9660_rrip.c       Tue Aug 30 18:47:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_rrip.c,v 1.7 2005/05/29 21:00:29 christos Exp $ */
+/*     $NetBSD: cd9660_rrip.c,v 1.8 2005/08/30 18:47:19 xtraeme Exp $  */
 
 /*-
  * Copyright (c) 1993, 1994
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_rrip.c,v 1.7 2005/05/29 21:00:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_rrip.c,v 1.8 2005/08/30 18:47:19 xtraeme Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -59,27 +59,27 @@
 
 typedef struct {
        char type[2];
-       int (*func) __P((void *, ISO_RRIP_ANALYZE *));
-       void (*func2) __P((void *, ISO_RRIP_ANALYZE *));
+       int (*func)(void *, ISO_RRIP_ANALYZE *);
+       void (*func2)(void *, ISO_RRIP_ANALYZE *);
        int result;
 } RRIP_TABLE;
 
-static int cd9660_rrip_attr __P((void *, ISO_RRIP_ANALYZE *));
-static void cd9660_rrip_defattr __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_slink __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_altname __P((void *, ISO_RRIP_ANALYZE *));
-static void cd9660_rrip_defname __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_pclink __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_reldir __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_tstamp __P((void *, ISO_RRIP_ANALYZE *));
-static void cd9660_rrip_deftstamp __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_device __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_idflag __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_cont __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_stop __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_extref __P((void *, ISO_RRIP_ANALYZE *));
-static int cd9660_rrip_loop __P((struct iso_directory_record *,
-                                ISO_RRIP_ANALYZE *, const RRIP_TABLE *));
+static int cd9660_rrip_attr(void *, ISO_RRIP_ANALYZE *);
+static void cd9660_rrip_defattr(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_slink(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_altname(void *, ISO_RRIP_ANALYZE *);
+static void cd9660_rrip_defname(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_pclink(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_reldir(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_tstamp(void *, ISO_RRIP_ANALYZE *);
+static void cd9660_rrip_deftstamp(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_device(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_idflag(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_cont(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_stop(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_extref(void *, ISO_RRIP_ANALYZE *);
+static int cd9660_rrip_loop(struct iso_directory_record *,
+                                ISO_RRIP_ANALYZE *, const RRIP_TABLE *);
 /*
  * POSIX file attribute
  */
diff -r e57ee81817e7 -r c85dbd677c49 sys/fs/cd9660/cd9660_vfsops.c
--- a/sys/fs/cd9660/cd9660_vfsops.c     Tue Aug 30 16:47:47 2005 +0000
+++ b/sys/fs/cd9660/cd9660_vfsops.c     Tue Aug 30 18:47:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_vfsops.c,v 1.25 2005/08/05 13:24:18 jmmv Exp $  */
+/*     $NetBSD: cd9660_vfsops.c,v 1.26 2005/08/30 18:47:19 xtraeme Exp $       */
 
 /*-
  * Copyright (c) 1994
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.25 2005/08/05 13:24:18 jmmv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.26 2005/08/30 18:47:19 xtraeme Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -119,9 +119,9 @@
  */
 #define ROOTNAME       "root_device"
 
-static int iso_makemp __P((struct iso_mnt *isomp, struct buf *bp, int *ea_len));
-static int iso_mountfs __P((struct vnode *devvp, struct mount *mp,
-               struct proc *p, struct iso_args *argp));
+static int iso_makemp(struct iso_mnt *isomp, struct buf *bp, int *ea_len);
+static int iso_mountfs(struct vnode *devvp, struct mount *mp,
+               struct proc *p, struct iso_args *argp);
 
 int
 cd9660_mountroot()
diff -r e57ee81817e7 -r c85dbd677c49 sys/fs/cd9660/cd9660_vnops.c
--- a/sys/fs/cd9660/cd9660_vnops.c      Tue Aug 30 16:47:47 2005 +0000
+++ b/sys/fs/cd9660/cd9660_vnops.c      Tue Aug 30 18:47:19 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cd9660_vnops.c,v 1.14 2005/08/19 02:04:03 christos Exp $       */
+/*     $NetBSD: cd9660_vnops.c,v 1.15 2005/08/30 18:47:19 xtraeme Exp $        */
 
 /*-
  * Copyright (c) 1994
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.14 2005/08/19 02:04:03 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.15 2005/08/30 18:47:19 xtraeme Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -80,8 +80,8 @@
        int ncookies;
 };
 
-int    iso_uiodir __P((struct isoreaddir *, struct dirent *, off_t));



Home | Main Index | Thread Index | Old Index