Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/vipw De-__P + __dead



details:   https://anonhg.NetBSD.org/src/rev/781f102fec93
branches:  trunk
changeset: 769066:781f102fec93
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Aug 30 20:52:10 2011 +0000

description:
De-__P + __dead

diffstat:

 usr.sbin/vipw/vipw.c |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 280c13294f91 -r 781f102fec93 usr.sbin/vipw/vipw.c
--- a/usr.sbin/vipw/vipw.c      Tue Aug 30 20:51:29 2011 +0000
+++ b/usr.sbin/vipw/vipw.c      Tue Aug 30 20:52:10 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vipw.c,v 1.14 2009/04/19 00:44:49 lukem Exp $  */
+/*     $NetBSD: vipw.c,v 1.15 2011/08/30 20:52:10 joerg Exp $  */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)vipw.c     8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: vipw.c,v 1.14 2009/04/19 00:44:49 lukem Exp $");
+__RCSID("$NetBSD: vipw.c,v 1.15 2011/08/30 20:52:10 joerg Exp $");
 #endif
 #endif /* not lint */
 
@@ -57,11 +57,10 @@
 #include <errno.h>
 #include <util.h>
 
-int    main __P((int, char **));
-static void    copyfile __P((int, int));
-static void    usage __P((void));
+static void    copyfile(int, int);
+__dead static void     usage(void);
 
-char mpwd[MAXPATHLEN], mpwdl[MAXPATHLEN];
+static char mpwd[MAXPATHLEN], mpwdl[MAXPATHLEN];
 
 int
 main(int argc, char *argv[])



Home | Main Index | Thread Index | Old Index