Source-Changes-HG archive

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

[src/trunk]: src/sys/sys don't include argument names in prototypes.



details:   https://anonhg.NetBSD.org/src/rev/c1b68a3d0f40
branches:  trunk
changeset: 515550:c1b68a3d0f40
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Sep 28 12:14:27 2001 +0000

description:
don't include argument names in prototypes.

diffstat:

 sys/sys/systm.h |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (61 lines):

diff -r 9f22ce7f6efe -r c1b68a3d0f40 sys/sys/systm.h
--- a/sys/sys/systm.h   Fri Sep 28 11:59:51 2001 +0000
+++ b/sys/sys/systm.h   Fri Sep 28 12:14:27 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.136 2001/07/07 17:07:26 perry Exp $        */
+/*     $NetBSD: systm.h,v 1.137 2001/09/28 12:14:27 chs Exp $  */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -180,19 +180,19 @@
 
 void   *hashinit __P((int, enum hashtype, int, int, u_long *));
 void   hashdone __P((void *, int));
-int    seltrue __P((dev_t dev, int events, struct proc *p));
+int    seltrue __P((dev_t, int, struct proc *));
 int    sys_nosys __P((struct proc *, void *, register_t *));
 
 
 void   printf __P((const char *, ...))
     __attribute__((__format__(__printf__,1,2)));
-int    sprintf __P((char *buf, const char *, ...))
+int    sprintf __P((char *, const char *, ...))
     __attribute__((__format__(__printf__,2,3)));
-int    snprintf __P((char *buf, size_t, const char *, ...))
+int    snprintf __P((char *, size_t, const char *, ...))
     __attribute__((__format__(__printf__,3,4)));
 void   vprintf __P((const char *, _BSD_VA_LIST_));
-int    vsprintf __P((char *buf, const char *, _BSD_VA_LIST_));
-int    vsnprintf __P((char *buf, size_t, const char *, _BSD_VA_LIST_));
+int    vsprintf __P((char *, const char *, _BSD_VA_LIST_));
+int    vsnprintf __P((char *, size_t, const char *, _BSD_VA_LIST_));
 
 void   panic __P((const char *, ...))
     __attribute__((__noreturn__,__format__(__printf__,1,2)));
@@ -236,14 +236,14 @@
 long   fuword __P((const void *));
 long   fuiword __P((const void *));
 
-int    hzto __P((struct timeval *tv));
+int    hzto __P((struct timeval *));
 void   realitexpire __P((void *));
 
-void   hardclock __P((struct clockframe *frame));
+void   hardclock __P((struct clockframe *));
 #ifndef __HAVE_GENERIC_SOFT_INTERRUPTS
 void   softclock __P((void *));
 #endif
-void   statclock __P((struct clockframe *frame));
+void   statclock __P((struct clockframe *));
 #ifdef NTP
 void   hardupdate __P((long offset));
 #ifdef PPS_SYNC
@@ -258,7 +258,7 @@
 
 void   startprofclock __P((struct proc *));
 void   stopprofclock __P((struct proc *));
-void   setstatclockrate __P((int hzrate));
+void   setstatclockrate __P((int));
 
 /*
  * Shutdown hooks.  Functions to be run with all interrupts disabled



Home | Main Index | Thread Index | Old Index