Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ypserv/stdethers de__P(), ANSIfy.



details:   https://anonhg.NetBSD.org/src/rev/9de3a492756c
branches:  trunk
changeset: 533642:9de3a492756c
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sat Jul 06 00:56:32 2002 +0000

description:
de__P(), ANSIfy.

diffstat:

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

diffs (45 lines):

diff -r e129d289cad4 -r 9de3a492756c usr.sbin/ypserv/stdethers/stdethers.c
--- a/usr.sbin/ypserv/stdethers/stdethers.c     Sat Jul 06 00:55:29 2002 +0000
+++ b/usr.sbin/ypserv/stdethers/stdethers.c     Sat Jul 06 00:56:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdethers.c,v 1.13 2001/02/19 23:22:52 cgd Exp $       */
+/*     $NetBSD: stdethers.c,v 1.14 2002/07/06 00:56:32 wiz Exp $       */
 
 /*
  * Copyright (c) 1995 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: stdethers.c,v 1.13 2001/02/19 23:22:52 cgd Exp $");
+__RCSID("$NetBSD: stdethers.c,v 1.14 2002/07/06 00:56:32 wiz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -52,14 +52,12 @@
 
 #include "protos.h"
 
-int    main __P((int, char *[]));
-void   usage __P((void));
+int    main(int, char *[]);
+void   usage(void);
 
 
 int
-main(argc, argv)
-       int argc;
-       char *argv[];
+main(int argc, char *argv[])
 {
        struct ether_addr eth_addr;
        FILE    *data_file;
@@ -99,7 +97,7 @@
 }
 
 void
-usage()
+usage(void)
 {
 
        fprintf(stderr, "usage: %s [file]\n", getprogname());



Home | Main Index | Thread Index | Old Index