Source-Changes-HG archive

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

[src/trunk]: src/sys/sys de-__P



details:   https://anonhg.NetBSD.org/src/rev/4d1f77810fc4
branches:  trunk
changeset: 573626:4d1f77810fc4
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Feb 03 19:20:01 2005 +0000

description:
de-__P

diffstat:

 sys/sys/acct.h            |    6 +-
 sys/sys/bswap.h           |   12 +-
 sys/sys/clockctl.h        |   10 +-
 sys/sys/conf.h            |   48 ++++----
 sys/sys/disk.h            |   30 +++---
 sys/sys/disklabel_acorn.h |   11 +-
 sys/sys/event.h           |   14 +-
 sys/sys/exec.h            |   85 ++++++++---------
 sys/sys/exec_aout.h       |   18 +-
 sys/sys/exec_coff.h       |   22 ++--
 sys/sys/exec_ecoff.h      |   21 ++--
 sys/sys/exec_elf.h        |    8 +-
 sys/sys/exec_macho.h      |    8 +-
 sys/sys/exec_script.h     |    4 +-
 sys/sys/extent.h          |   18 +-
 sys/sys/fcntl.h           |   10 +-
 sys/sys/float_ieee754.h   |    4 +-
 sys/sys/ioctl.h           |    4 +-
 sys/sys/ipc.h             |   10 +-
 sys/sys/kgdb.h            |   18 +-
 sys/sys/kprintf.h         |    6 +-
 sys/sys/lkm.h             |   10 +-
 sys/sys/md4.h             |   14 +-
 sys/sys/md5.h             |   14 +-
 sys/sys/mman.h            |   28 ++--
 sys/sys/mount.h           |  118 ++++++++++++------------
 sys/sys/msg.h             |   14 +-
 sys/sys/msgbuf.h          |    4 +-
 sys/sys/namei.h           |   27 ++--
 sys/sys/pipe.h            |    4 +-
 sys/sys/poll.h            |    4 +-
 sys/sys/proc.h            |   32 +++---
 sys/sys/ptrace.h          |   30 +++---
 sys/sys/reboot.h          |    4 +-
 sys/sys/resourcevar.h     |   20 ++--
 sys/sys/rnd.h             |   39 +++----
 sys/sys/sem.h             |   22 ++--
 sys/sys/sha1.h            |   16 +-
 sys/sys/shm.h             |   20 ++--
 sys/sys/signal.h          |   22 ++--
 sys/sys/signalvar.h       |   97 +++++++++----------
 sys/sys/socket.h          |   47 ++++-----
 sys/sys/stat.h            |   40 ++++----
 sys/sys/sysctl.h          |   12 +-
 sys/sys/syslog.h          |   22 ++--
 sys/sys/systm.h           |  224 ++++++++++++++++++++++-----------------------
 sys/sys/termios.h         |   28 ++--
 sys/sys/time.h            |   55 +++++-----
 sys/sys/timeb.h           |    4 +-
 sys/sys/timepps.h         |   25 ++--
 sys/sys/times.h           |    6 +-
 sys/sys/timex.h           |    6 +-
 sys/sys/tprintf.h         |    8 +-
 sys/sys/tty.h             |  104 ++++++++++----------
 sys/sys/types.h           |    8 +-
 sys/sys/uio.h             |   12 +-
 sys/sys/userconf.h        |    4 +-
 sys/sys/utsname.h         |    4 +-
 sys/sys/verified_exec.h   |   10 +-
 sys/sys/vnode.h           |    4 +-
 sys/sys/wait.h            |   10 +-
 61 files changed, 760 insertions(+), 779 deletions(-)

diffs (truncated from 2836 to 300 lines):

diff -r 353380399504 -r 4d1f77810fc4 sys/sys/acct.h
--- a/sys/sys/acct.h    Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/acct.h    Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acct.h,v 1.23 2003/08/07 16:33:59 agc Exp $    */
+/*     $NetBSD: acct.h,v 1.24 2005/02/03 19:20:01 perry Exp $  */
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -73,8 +73,8 @@
 #define        AHZ     64
 
 #ifdef _KERNEL
-void   acct_init __P((void));
-int    acct_process __P((struct proc *));
+void   acct_init(void);
+int    acct_process(struct proc *);
 #endif
 
 #endif /* !_SYS_ACCT_H_ */
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/bswap.h
--- a/sys/sys/bswap.h   Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/bswap.h   Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: bswap.h,v 1.2 2000/02/03 02:03:12 cgd Exp $      */
+/*      $NetBSD: bswap.h,v 1.3 2005/02/03 19:20:01 perry Exp $      */
 
 /* Written by Manuel Bouyer. Public domain */
 
@@ -15,13 +15,13 @@
 
 __BEGIN_DECLS
 #if defined(_KERNEL) || defined(_STANDALONE) || !defined(__BSWAP_RENAME)
-u_int16_t       bswap16 __P((u_int16_t));
-u_int32_t       bswap32 __P((u_int32_t));
+u_int16_t bswap16(u_int16_t);
+u_int32_t bswap32(u_int32_t);
 #else
-u_int16_t       bswap16 __P((u_int16_t)) __RENAME(__bswap16);
-u_int32_t       bswap32 __P((u_int32_t)) __RENAME(__bswap32);
+u_int16_t bswap16(u_int16_t) __RENAME(__bswap16);
+u_int32_t bswap32(u_int32_t) __RENAME(__bswap32);
 #endif
-u_int64_t       bswap64 __P((u_int64_t));
+u_int64_t bswap64(u_int64_t);
 __END_DECLS
 #endif /* !_LOCORE */
 
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/clockctl.h
--- a/sys/sys/clockctl.h        Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/clockctl.h        Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: clockctl.h,v 1.8 2003/09/30 20:38:38 christos Exp $ */
+/*      $NetBSD: clockctl.h,v 1.9 2005/02/03 19:20:01 perry Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -58,10 +58,10 @@
 #define CLOCKCTL_CLOCK_SETTIME _IOW('C', 0x3, struct sys_clock_settime_args)
 
 #ifdef _KERNEL
-void    clockctlattach __P((int));
-int     clockctlopen __P((dev_t, int, int, struct proc *));
-int     clockctlclose __P((dev_t, int, int, struct proc *));
-int     clockctlioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
+void    clockctlattach(int);
+int     clockctlopen(dev_t, int, int, struct proc *);
+int     clockctlclose(dev_t, int, int, struct proc *);
+int     clockctlioctl(dev_t, u_long, caddr_t, int, struct proc *);
 #endif
 
 #endif /* _SYS_CLOCKCTL_H_ */
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/conf.h
--- a/sys/sys/conf.h    Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/conf.h    Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.115 2004/01/25 18:06:49 hannken Exp $       */
+/*     $NetBSD: conf.h,v 1.116 2005/02/03 19:20:01 perry Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -157,35 +157,35 @@
        char    *l_name;        /* Linesw name */
        int     l_no;           /* Linesw number (compatibility) */
 
-       int     (*l_open)       __P((dev_t, struct tty *));
-       int     (*l_close)      __P((struct tty *, int));
-       int     (*l_read)       __P((struct tty *, struct uio *, int));
-       int     (*l_write)      __P((struct tty *, struct uio *, int));
-       int     (*l_ioctl)      __P((struct tty *, u_long, caddr_t, int,
-                                   struct proc *));
-       int     (*l_rint)       __P((int, struct tty *));
-       int     (*l_start)      __P((struct tty *));
-       int     (*l_modem)      __P((struct tty *, int));
-       int     (*l_poll)       __P((struct tty *, int, struct proc *));
+       int     (*l_open)       (dev_t, struct tty *);
+       int     (*l_close)      (struct tty *, int);
+       int     (*l_read)       (struct tty *, struct uio *, int);
+       int     (*l_write)      (struct tty *, struct uio *, int);
+       int     (*l_ioctl)      (struct tty *, u_long, caddr_t, int,
+                                   struct proc *);
+       int     (*l_rint)       (int, struct tty *);
+       int     (*l_start)      (struct tty *);
+       int     (*l_modem)      (struct tty *, int);
+       int     (*l_poll)       (struct tty *, int, struct proc *);
 };
 
 #ifdef _KERNEL
 extern struct linesw **linesw;
 extern int nlinesw;
-extern void ttyldisc_init __P((void));
-int ttyldisc_add __P((struct linesw *, int));
-struct linesw *ttyldisc_remove __P((char *));
-struct linesw *ttyldisc_lookup __P((char *));
+extern void ttyldisc_init(void);
+int ttyldisc_add(struct linesw *, int);
+struct linesw *ttyldisc_remove(char *);
+struct linesw *ttyldisc_lookup(char *);
 
 /* For those defining their own line disciplines: */
-#define        ttynodisc ((int (*) __P((dev_t, struct tty *)))enodev)
-#define        ttyerrclose ((int (*) __P((struct tty *, int)))enodev)
-#define        ttyerrio ((int (*) __P((struct tty *, struct uio *, int)))enodev)
-#define        ttyerrinput ((int (*) __P((int, struct tty *)))enodev)
-#define        ttyerrstart ((int (*) __P((struct tty *)))enodev)
-#define        ttyerrpoll ((int (*) __P((struct tty *, int, struct proc *)))enodev)
+#define        ttynodisc ((int (*)(dev_t, struct tty *))enodev)
+#define        ttyerrclose ((int (*)(struct tty *, int))enodev)
+#define        ttyerrio ((int (*)(struct tty *, struct uio *, int))enodev)
+#define        ttyerrinput ((int (*)(int, struct tty *))enodev)
+#define        ttyerrstart ((int (*)(struct tty *))enodev)
+#define        ttyerrpoll ((int (*)(struct tty *, int, struct proc *))enodev)
 
-int    ttynullioctl __P((struct tty *, u_long, caddr_t, int, struct proc *));
+int    ttynullioctl(struct tty *, u_long, caddr_t, int, struct proc *);
 #endif
 
 #ifdef _KERNEL
@@ -215,8 +215,8 @@
 
 #ifdef _KERNEL
 struct device;
-void   setroot __P((struct device *, int));
-void   swapconf __P((void));
+void   setroot(struct device *, int);
+void   swapconf(void);
 #endif /* _KERNEL */
 
 #endif /* !_SYS_CONF_H_ */
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/disk.h
--- a/sys/sys/disk.h    Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/disk.h    Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disk.h,v 1.28 2004/10/23 17:16:45 thorpej Exp $        */
+/*     $NetBSD: disk.h,v 1.29 2005/02/03 19:20:01 perry Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc.
@@ -267,15 +267,15 @@
 };
 
 struct dkdriver {
-       void    (*d_strategy) __P((struct buf *));
-       void    (*d_minphys) __P((struct buf *));
+       void    (*d_strategy)(struct buf *);
+       void    (*d_minphys)(struct buf *);
 #ifdef notyet
-       int     (*d_open) __P((dev_t, int, int, struct proc *));
-       int     (*d_close) __P((dev_t, int, int, struct proc *));
-       int     (*d_ioctl) __P((dev_t, u_long, caddr_t, int, struct proc *));
-       int     (*d_dump) __P((dev_t));
-       void    (*d_start) __P((struct buf *, daddr_t));
-       int     (*d_mklabel) __P((struct disk *));
+       int     (*d_open)(dev_t, int, int, struct proc *);
+       int     (*d_close)(dev_t, int, int, struct proc *);
+       int     (*d_ioctl)(dev_t, u_long, caddr_t, int, struct proc *);
+       int     (*d_dump)(dev_t);
+       void    (*d_start)(struct buf *, daddr_t);
+       int     (*d_mklabel)(struct disk *);
 #endif
 };
 
@@ -316,12 +316,12 @@
 struct device;
 struct proc;
 
-void   disk_attach __P((struct disk *));
-void   disk_detach __P((struct disk *));
-void   disk_busy __P((struct disk *));
-void   disk_unbusy __P((struct disk *, long, int));
-void   disk_resetstat __P((struct disk *));
-struct disk *disk_find __P((char *));
+void   disk_attach(struct disk *);
+void   disk_detach(struct disk *);
+void   disk_busy(struct disk *);
+void   disk_unbusy(struct disk *, long, int);
+void   disk_resetstat(struct disk *);
+struct disk *disk_find(char *);
 
 int    dkwedge_add(struct dkwedge_info *);
 int    dkwedge_del(struct dkwedge_info *);
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/disklabel_acorn.h
--- a/sys/sys/disklabel_acorn.h Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/disklabel_acorn.h Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel_acorn.h,v 1.3 2003/01/11 18:54:19 christos Exp $     */
+/*     $NetBSD: disklabel_acorn.h,v 1.4 2005/02/03 19:20:01 perry Exp $        */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -98,12 +98,11 @@
 struct disklabel;
 
 /* for readdisklabel.  rv != 0 -> matches, msg == NULL -> success */
-int    filecore_label_read __P((dev_t, void (*)(struct buf *),
-           struct disklabel *, struct cpu_disklabel *, char **, int *,
-           int *));
+int filecore_label_read(dev_t, void (*)(struct buf *),
+       struct disklabel *, struct cpu_disklabel *, char **, int *, int *);
 
 /* for writedisklabel.  rv == 0 -> dosen't match, rv > 0 -> success */
-int    filecore_label_locate __P((dev_t, void (*)(struct buf *),
-           struct disklabel *, struct cpu_disklabel *, int *, int *));
+int filecore_label_locate(dev_t, void (*)(struct buf *),
+       struct disklabel *, struct cpu_disklabel *, int *, int *);
 #endif
 #endif /* _SYS_DISKLABEL_ACORN_H_ */
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/event.h
--- a/sys/sys/event.h   Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/event.h   Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: event.h,v 1.13 2004/04/25 16:42:43 simonb Exp $        */
+/*     $NetBSD: event.h,v 1.14 2005/02/03 19:20:01 perry Exp $ */
 /*-
  * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon%FreeBSD.org@localhost>
  * All rights reserved.
@@ -160,11 +160,11 @@
  */
 struct filterops {
        int     f_isfd;                 /* true if ident == filedescriptor */
-       int     (*f_attach)     __P((struct knote *));
+       int     (*f_attach)     (struct knote *);
                                        /* called when knote is ADDed */
-       void    (*f_detach)     __P((struct knote *));
+       void    (*f_detach)     (struct knote *);
                                        /* called when knote is DELETEd */
-       int     (*f_event)      __P((struct knote *, long));
+       int     (*f_event)      (struct knote *, long);
                                        /* called when event is triggered */
 };
 
@@ -218,9 +218,9 @@
 
 __BEGIN_DECLS
 #if defined(_NETBSD_SOURCE)
-int    kqueue __P((void));
-int    kevent __P((int, const struct kevent *, size_t, struct kevent *, size_t,
-                   const struct timespec *));
+int    kqueue(void);
+int    kevent(int, const struct kevent *, size_t, struct kevent *, size_t,
+                   const struct timespec *);
 #endif /* !_POSIX_C_SOURCE */
 __END_DECLS
 
diff -r 353380399504 -r 4d1f77810fc4 sys/sys/exec.h
--- a/sys/sys/exec.h    Thu Feb 03 19:16:10 2005 +0000
+++ b/sys/sys/exec.h    Thu Feb 03 19:20:01 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.h,v 1.105 2004/05/01 22:42:51 christos Exp $      */
+/*     $NetBSD: exec.h,v 1.106 2005/02/03 19:20:01 perry Exp $ */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -137,31 +137,28 @@
 struct vnode;
 struct ucred;
 
-typedef int (*exec_makecmds_fcn) __P((struct proc *, struct exec_package *));
+typedef int (*exec_makecmds_fcn)(struct proc *, struct exec_package *);
 
 struct execsw {
        u_int   es_hdrsz;               /* size of header for this format */
        exec_makecmds_fcn es_makecmds;  /* function to setup vmcmds */
        union {                         /* probe function */
-               int (*elf_probe_func) __P((struct proc *,
-                       struct exec_package *, void *, char *, vaddr_t *));
-               int (*ecoff_probe_func) __P((struct proc *,
-                       struct exec_package *));
-               int (*mach_probe_func) __P((char **));
+               int (*elf_probe_func)(struct proc *,
+                       struct exec_package *, void *, char *, vaddr_t *);
+               int (*ecoff_probe_func)(struct proc *, struct exec_package *);
+               int (*mach_probe_func)(char **);
        } u;
        const struct  emul *es_emul;    /* os emulation */
        int     es_prio;                /* entry priority */
        int     es_arglen;              /* Extra argument size in words */
                                        /* Copy arguments on the new stack */
-       int     (*es_copyargs) __P((struct proc *, struct exec_package *,
-                       struct ps_strings *, char **, void *));



Home | Main Index | Thread Index | Old Index