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 /usr.bin/write | |
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 'usr.bin/write')
-rw-r--r-- | usr.bin/write/write.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 355c05b9095..7597973b31a 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: write.c,v 1.14 2001/11/19 19:02:18 mpech Exp $ */ +/* $OpenBSD: write.c,v 1.15 2002/02/16 21:27:59 millert Exp $ */ /* $NetBSD: write.c,v 1.5 1995/08/31 21:48:32 jtc Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)write.c 8.2 (Berkeley) 4/27/95"; #endif -static char *rcsid = "$OpenBSD: write.c,v 1.14 2001/11/19 19:02:18 mpech Exp $"; +static char *rcsid = "$OpenBSD: write.c,v 1.15 2002/02/16 21:27:59 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -66,12 +66,12 @@ static char *rcsid = "$OpenBSD: write.c,v 1.14 2001/11/19 19:02:18 mpech Exp $"; #include <err.h> #include <vis.h> -void done __P((int sig)); -void do_write __P((char *, char *, uid_t)); -void wr_fputs __P((char *)); -void search_utmp __P((char *, char *, char *, uid_t)); -int term_chk __P((char *, int *, time_t *, int)); -int utmp_chk __P((char *, char *)); +void done(int sig); +void do_write(char *, char *, uid_t); +void wr_fputs(char *); +void search_utmp(char *, char *, char *, uid_t); +int term_chk(char *, int *, time_t *, int); +int utmp_chk(char *, char *); int main(argc, argv) |