Module Name:    src
Committed By:   sevan
Date:           Thu May  4 16:26:10 UTC 2017

Modified Files:
        src/usr.sbin/bootp/bootpd: bootpd.c
        src/usr.sbin/bootp/bootpef: bootpef.c
        src/usr.sbin/bootp/bootpgw: bootpgw.c
        src/usr.sbin/bootp/bootptest: bootptest.c
        src/usr.sbin/lpr/lpc: lpc.c
        src/usr.sbin/lpr/lpd: lpd.c
        src/usr.sbin/pstat: pstat.c
        src/usr.sbin/pwd_mkdb: pwd_mkdb.c
        src/usr.sbin/rbootd: rbootd.c
        src/usr.sbin/rdate: rdate.c
        src/usr.sbin/rpc.yppasswdd: rpc.yppasswdd.c
        src/usr.sbin/srtconfig: srtconfig.c
        src/usr.sbin/sup/source: supcmain.c supfilesrv.c supscan.c
        src/usr.sbin/sysinst: main.c
        src/usr.sbin/wsconscfg: wsconscfg.c
        src/usr.sbin/ypserv/yptest: yptest.c
        src/usr.sbin/ypserv/ypxfr: ypxfr.c

Log Message:
Drop main() prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/bootp/bootpd/bootpd.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/bootp/bootpef/bootpef.c
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/bootp/bootpgw/bootpgw.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/bootp/bootptest/bootptest.c
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/lpr/lpc/lpc.c
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/lpr/lpd/lpd.c
cvs rdiff -u -r1.127 -r1.128 src/usr.sbin/pstat/pstat.c
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/pwd_mkdb/pwd_mkdb.c
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/rbootd/rbootd.c
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/rdate/rdate.c
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/srtconfig/srtconfig.c
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/sup/source/supcmain.c
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/sup/source/supfilesrv.c
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sup/source/supscan.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/wsconscfg/wsconscfg.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ypserv/yptest/yptest.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/ypserv/ypxfr/ypxfr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/bootp/bootpd/bootpd.c
diff -u src/usr.sbin/bootp/bootpd/bootpd.c:1.26 src/usr.sbin/bootp/bootpd/bootpd.c:1.27
--- src/usr.sbin/bootp/bootpd/bootpd.c:1.26	Sat Mar 29 22:45:31 2014
+++ src/usr.sbin/bootp/bootpd/bootpd.c	Thu May  4 16:26:09 2017
@@ -22,7 +22,7 @@ SOFTWARE.
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: bootpd.c,v 1.26 2014/03/29 22:45:31 joerg Exp $");
+__RCSID("$NetBSD: bootpd.c,v 1.27 2017/05/04 16:26:09 sevan Exp $");
 #endif
 
 /*
@@ -115,7 +115,6 @@ PRIVATE void handle_reply(void);
 PRIVATE void handle_request(void);
 PRIVATE void sendreply(int forward, int32 dest_override);
 __dead PRIVATE void usage(void);
-int main(int, char **);
 
 /*
  * IP port numbers for client and server obtained from /etc/services

Index: src/usr.sbin/bootp/bootpef/bootpef.c
diff -u src/usr.sbin/bootp/bootpef/bootpef.c:1.10 src/usr.sbin/bootp/bootpef/bootpef.c:1.11
--- src/usr.sbin/bootp/bootpef/bootpef.c:1.10	Mon Aug 29 20:38:54 2011
+++ src/usr.sbin/bootp/bootpef/bootpef.c	Thu May  4 16:26:09 2017
@@ -22,7 +22,7 @@ SOFTWARE.
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: bootpef.c,v 1.10 2011/08/29 20:38:54 joerg Exp $");
+__RCSID("$NetBSD: bootpef.c,v 1.11 2017/05/04 16:26:09 sevan Exp $");
 #endif
 
 
@@ -83,7 +83,6 @@ __RCSID("$NetBSD: bootpef.c,v 1.10 2011/
 
 static void mktagfile(struct host *);
 __dead static void usage(void);
-int main(int, char **);
 
 
 /*

Index: src/usr.sbin/bootp/bootpgw/bootpgw.c
diff -u src/usr.sbin/bootp/bootpgw/bootpgw.c:1.15 src/usr.sbin/bootp/bootpgw/bootpgw.c:1.16
--- src/usr.sbin/bootp/bootpgw/bootpgw.c:1.15	Mon Aug 29 20:38:55 2011
+++ src/usr.sbin/bootp/bootpgw/bootpgw.c	Thu May  4 16:26:09 2017
@@ -27,7 +27,7 @@ SOFTWARE.
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: bootpgw.c,v 1.15 2011/08/29 20:38:55 joerg Exp $");
+__RCSID("$NetBSD: bootpgw.c,v 1.16 2017/05/04 16:26:09 sevan Exp $");
 #endif
 
 /*
@@ -87,7 +87,6 @@ __RCSID("$NetBSD: bootpgw.c,v 1.15 2011/
 __dead static void usage(void);
 static void handle_reply(void);
 static void handle_request(void);
-int main(int, char **);
 
 /*
  * IP port numbers for client and server obtained from /etc/services
@@ -126,7 +125,6 @@ char *servername;
 
 char myhostname[MAXHOSTNAMELEN + 1];
 struct in_addr my_ip_addr;
-
 
 
 

Index: src/usr.sbin/bootp/bootptest/bootptest.c
diff -u src/usr.sbin/bootp/bootptest/bootptest.c:1.20 src/usr.sbin/bootp/bootptest/bootptest.c:1.21
--- src/usr.sbin/bootp/bootptest/bootptest.c:1.20	Sun Aug 21 08:59:50 2011
+++ src/usr.sbin/bootp/bootptest/bootptest.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: bootptest.c,v 1.20 2011/08/21 08:59:50 christos Exp $	*/
+/*	$NetBSD: bootptest.c,v 1.21 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * bootptest.c - Test out a bootp server.
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: bootptest.c,v 1.20 2011/08/21 08:59:50 christos Exp $");
+__RCSID("$NetBSD: bootptest.c,v 1.21 2017/05/04 16:26:09 sevan Exp $");
 #endif
 
 static const char usage[] =
@@ -121,7 +121,6 @@ short secs;						/* How long client has 
 
 
 extern int getether(char *, char *);
-int main(int, char **);
 void send_request(int);
 
 /*

Index: src/usr.sbin/lpr/lpc/lpc.c
diff -u src/usr.sbin/lpr/lpc/lpc.c:1.26 src/usr.sbin/lpr/lpc/lpc.c:1.27
--- src/usr.sbin/lpr/lpc/lpc.c:1.26	Tue Aug 30 19:27:37 2011
+++ src/usr.sbin/lpr/lpc/lpc.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lpc.c,v 1.26 2011/08/30 19:27:37 joerg Exp $	*/
+/*	$NetBSD: lpc.c,v 1.27 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993
@@ -37,7 +37,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
 #if 0
 static char sccsid[] = "@(#)lpc.c	8.3 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: lpc.c,v 1.26 2011/08/30 19:27:37 joerg Exp $");
+__RCSID("$NetBSD: lpc.c,v 1.27 2017/05/04 16:26:09 sevan Exp $");
 #endif
 #endif /* not lint */
 
@@ -87,7 +87,6 @@ static struct cmd	*getcmd(const char *);
 __dead static void	 intr(int);
 static void		 makeargv(void);
 static int		 ingroup(const char *);
-int			 main(int, char *p[]);
 const char		*prompt(void);
 static int		 parse(char *, char *p[], int);
 

Index: src/usr.sbin/lpr/lpd/lpd.c
diff -u src/usr.sbin/lpr/lpd/lpd.c:1.57 src/usr.sbin/lpr/lpd/lpd.c:1.58
--- src/usr.sbin/lpr/lpd/lpd.c:1.57	Wed Nov  9 12:45:58 2011
+++ src/usr.sbin/lpr/lpd/lpd.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lpd.c,v 1.57 2011/11/09 12:45:58 is Exp $	*/
+/*	$NetBSD: lpd.c,v 1.58 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * Copyright (c) 1983, 1993, 1994
@@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19
 #if 0
 static char sccsid[] = "@(#)lpd.c	8.7 (Berkeley) 5/10/95";
 #else
-__RCSID("$NetBSD: lpd.c,v 1.57 2011/11/09 12:45:58 is Exp $");
+__RCSID("$NetBSD: lpd.c,v 1.58 2017/05/04 16:26:09 sevan Exp $");
 #endif
 #endif /* not lint */
 
@@ -125,7 +125,6 @@ char	**blist;			/* list of addresses to 
 int	blist_size;
 int	blist_addrs;
 
-int			main(int, char **);
 static void		reapchild(int);
 __dead static void	mcleanup(int);
 static void		doit(void);

Index: src/usr.sbin/pstat/pstat.c
diff -u src/usr.sbin/pstat/pstat.c:1.127 src/usr.sbin/pstat/pstat.c:1.128
--- src/usr.sbin/pstat/pstat.c:1.127	Mon Apr 17 08:29:58 2017
+++ src/usr.sbin/pstat/pstat.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: pstat.c,v 1.127 2017/04/17 08:29:58 hannken Exp $	*/
+/*	$NetBSD: pstat.c,v 1.128 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*-
  * Copyright (c) 1980, 1991, 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "@(#)pstat.c	8.16 (Berkeley) 5/9/95";
 #else
-__RCSID("$NetBSD: pstat.c,v 1.127 2017/04/17 08:29:58 hannken Exp $");
+__RCSID("$NetBSD: pstat.c,v 1.128 2017/05/04 16:26:09 sevan Exp $");
 #endif
 #endif /* not lint */
 
@@ -174,7 +174,6 @@ char *	kinfo_vnodes(int *);
 void	layer_header(void);
 int	layer_print(struct vnode *, int);
 char *	loadvnodes(int *);
-int	main(int, char **);
 void	mount_print(struct mount *);
 void	nfs_header(void);
 int	nfs_print(struct vnode *, int);

Index: src/usr.sbin/pwd_mkdb/pwd_mkdb.c
diff -u src/usr.sbin/pwd_mkdb/pwd_mkdb.c:1.57 src/usr.sbin/pwd_mkdb/pwd_mkdb.c:1.58
--- src/usr.sbin/pwd_mkdb/pwd_mkdb.c:1.57	Sun Jan 26 01:57:04 2014
+++ src/usr.sbin/pwd_mkdb/pwd_mkdb.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: pwd_mkdb.c,v 1.57 2014/01/26 01:57:04 christos Exp $	*/
+/*	$NetBSD: pwd_mkdb.c,v 1.58 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * Copyright (c) 2000, 2009 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@ __COPYRIGHT("@(#) Copyright (c) 2000, 20
  The NetBSD Foundation, Inc.  All rights reserved.\
   Copyright (c) 1991, 1993, 1994\
  The Regents of the University of California.  All rights reserved.");
-__RCSID("$NetBSD: pwd_mkdb.c,v 1.57 2014/01/26 01:57:04 christos Exp $");
+__RCSID("$NetBSD: pwd_mkdb.c,v 1.58 2017/05/04 16:26:09 sevan Exp $");
 #endif /* not lint */
 
 #if HAVE_NBTOOL_CONFIG_H
@@ -178,7 +178,6 @@ void	mkpw_warning(const char *, ...);
 int	getdbent(struct pwddb *, int, void *, struct passwd **);
 void	inconsistency(void) __dead;
 void	install(const char *, const char *);
-int	main(int, char **);
 void	putdbents(struct pwddb *, struct passwd *, const char *, int, int,
     u_int, u_int);
 void	putyptoken(struct pwddb *);

Index: src/usr.sbin/rbootd/rbootd.c
diff -u src/usr.sbin/rbootd/rbootd.c:1.23 src/usr.sbin/rbootd/rbootd.c:1.24
--- src/usr.sbin/rbootd/rbootd.c:1.23	Tue May 24 13:19:55 2011
+++ src/usr.sbin/rbootd/rbootd.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: rbootd.c,v 1.23 2011/05/24 13:19:55 joerg Exp $	*/
+/*	$NetBSD: rbootd.c,v 1.24 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * Copyright (c) 1988, 1992 The University of Utah and the Center
@@ -52,7 +52,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 19
 #if 0
 static char sccsid[] = "@(#)rbootd.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: rbootd.c,v 1.23 2011/05/24 13:19:55 joerg Exp $");
+__RCSID("$NetBSD: rbootd.c,v 1.24 2017/05/04 16:26:09 sevan Exp $");
 #endif
 #endif /* not lint */
 
@@ -71,8 +71,6 @@ __RCSID("$NetBSD: rbootd.c,v 1.23 2011/0
 #include <util.h>
 #include "defs.h"
 
-int	main (int, char *[]);
-
 int
 main(int argc, char *argv[])
 {

Index: src/usr.sbin/rdate/rdate.c
diff -u src/usr.sbin/rdate/rdate.c:1.19 src/usr.sbin/rdate/rdate.c:1.20
--- src/usr.sbin/rdate/rdate.c:1.19	Wed Oct 21 01:07:47 2009
+++ src/usr.sbin/rdate/rdate.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: rdate.c,v 1.19 2009/10/21 01:07:47 snj Exp $	*/
+/*	$NetBSD: rdate.c,v 1.20 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * Copyright (c) 1994 Christos Zoulas
@@ -34,7 +34,7 @@
  */
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rdate.c,v 1.19 2009/10/21 01:07:47 snj Exp $");
+__RCSID("$NetBSD: rdate.c,v 1.20 2017/05/04 16:26:09 sevan Exp $");
 #endif /* lint */
 
 #include <sys/types.h>
@@ -54,7 +54,6 @@ __RCSID("$NetBSD: rdate.c,v 1.19 2009/10
 /* seconds from midnight Jan 1900 - 1970 */
 #define DIFFERENCE 2208988800ULL
 
-	int	main(int, char **);
 static	void	usage(void);
 
 static void

Index: src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c
diff -u src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c:1.17 src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c:1.18
--- src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c:1.17	Wed Aug 31 16:24:59 2011
+++ src/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpc.yppasswdd.c,v 1.17 2011/08/31 16:24:59 plunky Exp $	*/
+/*	$NetBSD: rpc.yppasswdd.c,v 1.18 2017/05/04 16:26:09 sevan Exp $	*/
 
 /*
  * Copyright (c) 1994 Mats O Jansson <[email protected]>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rpc.yppasswdd.c,v 1.17 2011/08/31 16:24:59 plunky Exp $");
+__RCSID("$NetBSD: rpc.yppasswdd.c,v 1.18 2017/05/04 16:26:09 sevan Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -53,7 +53,6 @@ __RCSID("$NetBSD: rpc.yppasswdd.c,v 1.17
 int	noshell, nogecos, nopw;
 char	make_arg[_POSIX2_LINE_MAX] = "make";
 
-int	main(int, char *[]);
 void	yppasswddprog_1(struct svc_req *, SVCXPRT *);
 __dead static void	usage(void);
 

Index: src/usr.sbin/srtconfig/srtconfig.c
diff -u src/usr.sbin/srtconfig/srtconfig.c:1.3 src/usr.sbin/srtconfig/srtconfig.c:1.4
--- src/usr.sbin/srtconfig/srtconfig.c:1.3	Sat Apr 18 14:02:42 2009
+++ src/usr.sbin/srtconfig/srtconfig.c	Thu May  4 16:26:09 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: srtconfig.c,v 1.3 2009/04/18 14:02:42 lukem Exp $ */
+/* $NetBSD: srtconfig.c,v 1.4 2017/05/04 16:26:09 sevan Exp $ */
 /* This file is in the public domain. */
 
 #include <stdio.h>
@@ -278,7 +278,6 @@ static void do_debug(void)
   }
 }
 
-int main(int, char **);
 int main(int ac, char **av)
 {
  handleargs(ac,av);

Index: src/usr.sbin/sup/source/supcmain.c
diff -u src/usr.sbin/sup/source/supcmain.c:1.33 src/usr.sbin/sup/source/supcmain.c:1.34
--- src/usr.sbin/sup/source/supcmain.c:1.33	Tue Apr  9 16:39:20 2013
+++ src/usr.sbin/sup/source/supcmain.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: supcmain.c,v 1.33 2013/04/09 16:39:20 christos Exp $	*/
+/*	$NetBSD: supcmain.c,v 1.34 2017/05/04 16:26:10 sevan Exp $	*/
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -348,7 +348,6 @@ int rpauseflag;			/* don't disable resou
 int xpatchflag;			/* crosspatched with remote system */
 int portdebug;			/* network debugging ports */
 
-int main(int, char **);
 static int checkcoll(TREE *, void *);
 static void doswitch(int *, char ***, TREE **, int *, int *, char *, size_t);
 static char *init(int, char **);

Index: src/usr.sbin/sup/source/supfilesrv.c
diff -u src/usr.sbin/sup/source/supfilesrv.c:1.50 src/usr.sbin/sup/source/supfilesrv.c:1.51
--- src/usr.sbin/sup/source/supfilesrv.c:1.50	Tue Apr  9 16:38:18 2013
+++ src/usr.sbin/sup/source/supfilesrv.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: supfilesrv.c,v 1.50 2013/04/09 16:38:18 christos Exp $	*/
+/*	$NetBSD: supfilesrv.c,v 1.51 2017/05/04 16:26:10 sevan Exp $	*/
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -340,7 +340,6 @@ HASH *inodeH[HASHSIZE];		/* for inode lo
 
 
 /* supfilesrv.c */
-int main(int, char **);
 void chldsig(int);
 void usage(void);
 void init(int, char **);

Index: src/usr.sbin/sup/source/supscan.c
diff -u src/usr.sbin/sup/source/supscan.c:1.23 src/usr.sbin/sup/source/supscan.c:1.24
--- src/usr.sbin/sup/source/supscan.c:1.23	Fri Mar  8 20:56:44 2013
+++ src/usr.sbin/sup/source/supscan.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: supscan.c,v 1.23 2013/03/08 20:56:44 christos Exp $	*/
+/*	$NetBSD: supscan.c,v 1.24 2017/05/04 16:26:10 sevan Exp $	*/
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -161,7 +161,6 @@ void usage(void);
 int init(int, char **);
 static SCAN_COLLECTION *getscancoll(char *, char *, char *);
 int localhost(char *);
-int main(int, char **);
 
 /*************************************
  ***    M A I N   R O U T I N E    ***

Index: src/usr.sbin/sysinst/main.c
diff -u src/usr.sbin/sysinst/main.c:1.6 src/usr.sbin/sysinst/main.c:1.7
--- src/usr.sbin/sysinst/main.c:1.6	Tue Oct 14 16:35:20 2014
+++ src/usr.sbin/sysinst/main.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.6 2014/10/14 16:35:20 christos Exp $	*/
+/*	$NetBSD: main.c,v 1.7 2017/05/04 16:26:10 sevan Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -52,7 +52,6 @@
 #include "menu_defs.h"
 #include "txtwalk.h"
 
-int main(int, char **);
 static void select_language(void);
 __dead static void usage(void);
 __dead static void miscsighandler(int);

Index: src/usr.sbin/wsconscfg/wsconscfg.c
diff -u src/usr.sbin/wsconscfg/wsconscfg.c:1.17 src/usr.sbin/wsconscfg/wsconscfg.c:1.18
--- src/usr.sbin/wsconscfg/wsconscfg.c:1.17	Mon May 26 12:15:42 2008
+++ src/usr.sbin/wsconscfg/wsconscfg.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconscfg.c,v 1.17 2008/05/26 12:15:42 drochner Exp $ */
+/* $NetBSD: wsconscfg.c,v 1.18 2017/05/04 16:26:10 sevan Exp $ */
 
 /*
  * Copyright (c) 1999
@@ -42,7 +42,6 @@
 #define DEFDEV "/dev/ttyEcfg"
 
 static void usage(void) __dead;
-int main(int, char **);
 
 static void
 usage(void)

Index: src/usr.sbin/ypserv/yptest/yptest.c
diff -u src/usr.sbin/ypserv/yptest/yptest.c:1.9 src/usr.sbin/ypserv/yptest/yptest.c:1.10
--- src/usr.sbin/ypserv/yptest/yptest.c:1.9	Tue Oct 20 00:51:15 2009
+++ src/usr.sbin/ypserv/yptest/yptest.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: yptest.c,v 1.9 2009/10/20 00:51:15 snj Exp $	 */
+/*	$NetBSD: yptest.c,v 1.10 2017/05/04 16:26:10 sevan Exp $	 */
 
 /*
  * Copyright (c) 1994 Mats O Jansson <[email protected]>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: yptest.c,v 1.9 2009/10/20 00:51:15 snj Exp $");
+__RCSID("$NetBSD: yptest.c,v 1.10 2017/05/04 16:26:10 sevan Exp $");
 #endif
 
 #include <sys/types.h>
@@ -43,7 +43,6 @@ __RCSID("$NetBSD: yptest.c,v 1.9 2009/10
 #include <rpcsvc/yp_prot.h>
 #include <rpcsvc/ypclnt.h>
 
-int	main(int, char *[]);
 static	int yptest_foreach(int, char *, int, char *, int, char *);
 
 int

Index: src/usr.sbin/ypserv/ypxfr/ypxfr.c
diff -u src/usr.sbin/ypserv/ypxfr/ypxfr.c:1.20 src/usr.sbin/ypserv/ypxfr/ypxfr.c:1.21
--- src/usr.sbin/ypserv/ypxfr/ypxfr.c:1.20	Mon Apr 25 22:51:26 2011
+++ src/usr.sbin/ypserv/ypxfr/ypxfr.c	Thu May  4 16:26:10 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: ypxfr.c,v 1.20 2011/04/25 22:51:26 wiz Exp $	*/
+/*	$NetBSD: ypxfr.c,v 1.21 2017/05/04 16:26:10 sevan Exp $	*/
 
 /*
  * Copyright (c) 1994 Mats O Jansson <[email protected]>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ypxfr.c,v 1.20 2011/04/25 22:51:26 wiz Exp $");
+__RCSID("$NetBSD: ypxfr.c,v 1.21 2017/05/04 16:26:10 sevan Exp $");
 #endif
 
 #include <sys/param.h>
@@ -61,7 +61,6 @@ DBM	*db;
 static	int yperr2yppush(int);
 static	int ypxfr_foreach(int, char *, int, char *, int, char *);
 
-int	main(int, char *[]);
 int	get_local_ordernum(char *, char *, u_int *);
 int	get_remote_ordernum(CLIENT *, char *, char *, u_int, u_int *);
 void	get_map(CLIENT *, char *, char *, struct ypall_callback *);

Reply via email to