Source-Changes-HG archive

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

[src/trunk]: src/sbin/reboot de__P(), ANSIfy.



details:   https://anonhg.NetBSD.org/src/rev/933427d04f17
branches:  trunk
changeset: 534758:933427d04f17
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Aug 02 14:59:40 2002 +0000

description:
de__P(), ANSIfy.

diffstat:

 sbin/reboot/reboot.c |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r bdb11084e4f3 -r 933427d04f17 sbin/reboot/reboot.c
--- a/sbin/reboot/reboot.c      Fri Aug 02 14:43:32 2002 +0000
+++ b/sbin/reboot/reboot.c      Fri Aug 02 14:59:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reboot.c,v 1.29 2002/07/20 06:44:45 tsutsui Exp $      */
+/*     $NetBSD: reboot.c,v 1.30 2002/08/02 14:59:40 wiz Exp $  */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)reboot.c   8.1 (Berkeley) 6/5/93";
 #else
-__RCSID("$NetBSD: reboot.c,v 1.29 2002/07/20 06:44:45 tsutsui Exp $");
+__RCSID("$NetBSD: reboot.c,v 1.30 2002/08/02 14:59:40 wiz Exp $");
 #endif
 #endif /* not lint */
 
@@ -61,16 +61,14 @@
 #include <unistd.h>
 #include <util.h>
 
-int main __P((int, char *[]));
-void usage __P((void));
+int main(int, char *[]);
+void usage(void);
 
 int dohalt;
 int dopoweroff;
 
 int
-main(argc, argv)
-       int argc;
-       char *argv[];
+main(int argc, char *argv[])
 {
        const char *progname;
        int i;
@@ -233,7 +231,7 @@
 }
 
 void
-usage()
+usage(void)
 {
        const char *pflag = dohalt ? "p" : "";
 



Home | Main Index | Thread Index | Old Index