diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /sbin/shutdown | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'sbin/shutdown')
-rw-r--r-- | sbin/shutdown/shutdown.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c index f128feb6ffb..bd8770f1fa4 100644 --- a/sbin/shutdown/shutdown.c +++ b/sbin/shutdown/shutdown.c @@ -1,4 +1,4 @@ -/* $OpenBSD: shutdown.c,v 1.23 2001/11/05 07:39:17 mpech Exp $ */ +/* $OpenBSD: shutdown.c,v 1.24 2002/02/16 21:27:38 millert Exp $ */ /* $NetBSD: shutdown.c,v 1.9 1995/03/18 15:01:09 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)shutdown.c 8.2 (Berkeley) 2/16/94"; #else -static char rcsid[] = "$OpenBSD: shutdown.c,v 1.23 2001/11/05 07:39:17 mpech Exp $"; +static char rcsid[] = "$OpenBSD: shutdown.c,v 1.24 2002/02/16 21:27:38 millert Exp $"; #endif #endif /* not lint */ @@ -106,16 +106,16 @@ static time_t offset, shuttime; static int dofast, dohalt, doreboot, dopower, dodump, killflg, mbuflen, nosync; static char *whom, mbuf[BUFSIZ]; -void badtime __P((void)); -void __attribute ((noreturn)) die_you_gravy_sucking_pig_dog __P((void)); -void doitfast __P((void)); -void __attribute ((noreturn)) finish __P((int)); -void getoffset __P((char *)); -void __attribute ((noreturn)) loop __P((void)); -void nolog __P((void)); -void timeout __P((int)); -void timewarn __P((int)); -void usage __P((void)); +void badtime(void); +void __attribute ((noreturn)) die_you_gravy_sucking_pig_dog(void); +void doitfast(void); +void __attribute ((noreturn)) finish(int); +void getoffset(char *); +void __attribute ((noreturn)) loop(void); +void nolog(void); +void timeout(int); +void timewarn(int); +void usage(void); int main(argc, argv) |