diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-02 21:04:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-02 21:04:11 +0000 |
commit | c7d032fc4ac7d7924b20e1fea418272346d8c78c (patch) | |
tree | fd85b5bf62e92ffd1fee5c23d0b97910c3a67fb7 /usr.bin/find | |
parent | 27d9189e4074c4648710da3447660f62aaf79e4c (diff) |
protos
Diffstat (limited to 'usr.bin/find')
-rw-r--r-- | usr.bin/find/option.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/find/option.c b/usr.bin/find/option.c index d8f6a515a50..697a3ec55b7 100644 --- a/usr.bin/find/option.c +++ b/usr.bin/find/option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: option.c,v 1.16 2003/06/26 07:27:29 deraadt Exp $ */ +/* $OpenBSD: option.c,v 1.17 2003/07/02 21:04:10 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -34,7 +34,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)option.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: option.c,v 1.16 2003/06/26 07:27:29 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: option.c,v 1.17 2003/07/02 21:04:10 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -49,6 +49,8 @@ static char rcsid[] = "$OpenBSD: option.c,v 1.16 2003/06/26 07:27:29 deraadt Exp #include "find.h" #include "extern.h" +int typecompare(const void *, const void *); + /* NB: the following table must be sorted lexically. */ static OPTION options[] = { { "!", N_NOT, c_not, O_ZERO }, @@ -144,7 +146,6 @@ OPTION * option(char *name) { OPTION tmp; - int typecompare(const void *, const void *); tmp.name = name; return ((OPTION *)bsearch(&tmp, options, |