From c72b5b24e14c03dd8b22104fbae0d3921fa2aa37 Mon Sep 17 00:00:00 2001 From: millert Date: Sat, 16 Feb 2002 21:27:05 +0000 Subject: 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. --- usr.bin/script/script.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'usr.bin/script/script.c') diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index f530a6cdd73..55fa8308566 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: script.c,v 1.16 2001/11/18 23:51:57 deraadt Exp $ */ +/* $OpenBSD: script.c,v 1.17 2002/02/16 21:27:52 millert Exp $ */ /* $NetBSD: script.c,v 1.3 1994/12/21 08:55:43 jtc Exp $ */ /* @@ -69,7 +69,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: script.c,v 1.16 2001/11/18 23:51:57 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: script.c,v 1.17 2002/02/16 21:27:52 millert Exp $"; #endif /* not lint */ #include @@ -103,13 +103,13 @@ volatile sig_atomic_t flush; struct termios tt; -__dead void done __P((int)); -void dooutput __P((void)); -void doshell __P((void)); -void fail __P((void)); -void finish __P((int)); -void scriptflush __P((int)); -void handlesigwinch __P((int)); +__dead void done(int); +void dooutput(void); +void doshell(void); +void fail(void); +void finish(int); +void scriptflush(int); +void handlesigwinch(int); int main(argc, argv) -- cgit v1.2.3-59-g8ed1b