=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/strip/Attic/strip.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- src/usr.bin/strip/Attic/strip.c 2003/06/03 02:56:17 1.19 +++ src/usr.bin/strip/Attic/strip.c 2003/06/10 22:20:52 1.20 @@ -1,4 +1,4 @@ -/* $OpenBSD: strip.c,v 1.19 2003/06/03 02:56:17 millert Exp $ */ +/* $OpenBSD: strip.c,v 1.20 2003/06/10 22:20:52 deraadt Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -37,7 +37,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)strip.c 5.8 (Berkeley) 11/6/91";*/ -static char rcsid[] = "$OpenBSD: strip.c,v 1.19 2003/06/03 02:56:17 millert Exp $"; +static char rcsid[] = "$OpenBSD: strip.c,v 1.20 2003/06/10 22:20:52 deraadt Exp $"; #endif /* not lint */ #include @@ -72,9 +72,7 @@ int xflag = 0; int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int fd; EXEC *ep; @@ -145,12 +143,7 @@ } int -s_sym(fn, fd, ep, sp, sz) - const char *fn; - int fd; - EXEC *ep; - struct stat *sp; - off_t *sz; +s_sym(const char *fn, int fd, EXEC *ep, struct stat *sp, off_t *sz) { char *neweof; #if 0 @@ -212,12 +205,7 @@ } int -s_stab(fn, fd, ep, sp, sz) - const char *fn; - int fd; - EXEC *ep; - struct stat *sp; - off_t *sz; +s_stab(const char *fn, int fd, EXEC *ep, struct stat *sp, off_t *sz) { int cnt, len; char *nstr, *nstrbase=0, *used=0, *p, *strbase; @@ -384,7 +372,7 @@ } void -usage() +usage(void) { (void)fprintf(stderr, "usage: strip [-dx] file ...\n"); exit(1);