diff options
author | markm <markm@FreeBSD.org> | 2003-06-14 13:00:21 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-06-14 13:00:21 +0000 |
commit | 0a322f49b1bdc59686b295766b79fff2a0d18ca3 (patch) | |
tree | 0393f8572a182d3d47a08821aff92d90030bb0a3 /usr.bin/find/option.c | |
parent | 8f6dd33b0c08d0bbf6b171fae6334f2271435415 (diff) | |
download | FreeBSD-src-0a322f49b1bdc59686b295766b79fff2a0d18ca3.zip FreeBSD-src-0a322f49b1bdc59686b295766b79fff2a0d18ca3.tar.gz |
Fix all WARNS. Checked with "make WARNS=9". Remove unused file.
Diffstat (limited to 'usr.bin/find/option.c')
-rw-r--r-- | usr.bin/find/option.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c index ae87e64..9e10e50 100644 --- a/usr.bin/find/option.c +++ b/usr.bin/find/option.c @@ -39,6 +39,7 @@ static char sccsid[] = "@(#)option.c 8.2 (Berkeley) 4/16/94"; */ #endif /* not lint */ + #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -138,8 +139,7 @@ static OPTION const options[] = { * this switch stuff. */ PLAN * -find_create(argvp) - char ***argvp; +find_create(char ***argvp) { OPTION *p; PLAN *new; @@ -157,8 +157,7 @@ find_create(argvp) } OPTION * -lookup_option(name) - const char *name; +lookup_option(const char *name) { OPTION tmp; @@ -168,8 +167,7 @@ lookup_option(name) } int -typecompare(a, b) - const void *a, *b; +typecompare(const void *a, const void *b) { return (strcmp(((const OPTION *)a)->name, ((const OPTION *)b)->name)); } |