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/strip | |
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/strip')
-rw-r--r-- | usr.bin/strip/strip.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c index 56b218abbc0..509a5f0c49b 100644 --- a/usr.bin/strip/strip.c +++ b/usr.bin/strip/strip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strip.c,v 1.15 2001/11/19 19:02:16 mpech Exp $ */ +/* $OpenBSD: strip.c,v 1.16 2002/02/16 21:27:53 millert Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -41,7 +41,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)strip.c 5.8 (Berkeley) 11/6/91";*/ -static char rcsid[] = "$OpenBSD: strip.c,v 1.15 2001/11/19 19:02:16 mpech Exp $"; +static char rcsid[] = "$OpenBSD: strip.c,v 1.16 2002/02/16 21:27:53 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -69,9 +69,9 @@ typedef struct nlist NLIST; #define strx n_un.n_strx -int s_stab __P((const char *, int, EXEC *, struct stat *)); -int s_sym __P((const char *, int, EXEC *, struct stat *)); -void usage __P((void)); +int s_stab(const char *, int, EXEC *, struct stat *); +int s_sym(const char *, int, EXEC *, struct stat *); +void usage(void); int xflag = 0; @@ -83,7 +83,7 @@ main(argc, argv) int fd; EXEC *ep; struct stat sb; - int (*sfcn)__P((const char *, int, EXEC *, struct stat *)); + int (*sfcn)(const char *, int, EXEC *, struct stat *); int ch, errors; char *fn; |