diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-10 22:20:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-10 22:20:55 +0000 |
commit | b8aaa8bec8414f8e55cf9b61fe0873d242c773b8 (patch) | |
tree | 5e43016c4fae834239fd38972fd58355ed6b54b5 /usr.bin/find/main.c | |
parent | f18f6607440f6d2da08fac3522d88a65c77a5f3e (diff) |
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/find/main.c')
-rw-r--r-- | usr.bin/find/main.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c index 3b2224a2075..df8de968628 100644 --- a/usr.bin/find/main.c +++ b/usr.bin/find/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.15 2003/06/03 02:56:08 millert Exp $ */ +/* $OpenBSD: main.c,v 1.16 2003/06/10 22:20:46 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -31,7 +31,7 @@ #ifndef lint /*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: main.c,v 1.15 2003/06/03 02:56:08 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.16 2003/06/10 22:20:46 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -60,9 +60,7 @@ int isxargs; /* don't permit xargs delimiting chars */ static void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { struct sigaction sa; char **p, **paths; @@ -139,7 +137,7 @@ main(argc, argv) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: find [-dHhLXxW] [-f file] file [...] [expression]\n"); |