Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ypserv/stdhosts de-__P(), ANSIfy.



details:   https://anonhg.NetBSD.org/src/rev/e129d289cad4
branches:  trunk
changeset: 533641:e129d289cad4
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sat Jul 06 00:55:29 2002 +0000

description:
de-__P(), ANSIfy.

diffstat:

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

diffs (44 lines):

diff -r 2286b611dd79 -r e129d289cad4 usr.sbin/ypserv/stdhosts/stdhosts.c
--- a/usr.sbin/ypserv/stdhosts/stdhosts.c       Sat Jul 06 00:53:54 2002 +0000
+++ b/usr.sbin/ypserv/stdhosts/stdhosts.c       Sat Jul 06 00:55:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdhosts.c,v 1.14 2001/08/18 17:10:05 ad Exp $  */
+/*     $NetBSD: stdhosts.c,v 1.15 2002/07/06 00:55:29 wiz Exp $         */
 
 /*
  * Copyright (c) 1994 Mats O Jansson <moj%stacken.kth.se@localhost>
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: stdhosts.c,v 1.14 2001/08/18 17:10:05 ad Exp $");
+__RCSID("$NetBSD: stdhosts.c,v 1.15 2002/07/06 00:55:29 wiz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -52,13 +52,11 @@
 
 #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 in_addr host_addr;
        FILE    *data_file;
@@ -133,7 +131,7 @@
 }
 
 void
-usage()
+usage(void)
 {
 
        fprintf(stderr, "usage: %s [-n] [file]\n", getprogname());



Home | Main Index | Thread Index | Old Index