summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/find.h
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-02-27 17:57:00 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-02-27 17:57:00 +0000
commit9540738a74cc62036ba61604d3378881dec9422f (patch)
treeaf6c65f1bac5a3a336dbe37b43e09cf9c44dc83a /usr.bin/find/find.h
parent50b0eac3626e07f7118cd0418d37c28d76235387 (diff)
downloadFreeBSD-src-9540738a74cc62036ba61604d3378881dec9422f.zip
FreeBSD-src-9540738a74cc62036ba61604d3378881dec9422f.tar.gz
1) Remove -Wall from Makefile.
2) WARNs fixes (rename option to lookup_option to avoid shadowing, rename argv to argv1 to avoid shadowing, const stuff, prototypes, __unused). 3) Remove "register"s.
Diffstat (limited to 'usr.bin/find/find.h')
-rw-r--r--usr.bin/find/find.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h
index 77b37a7..32009eb 100644
--- a/usr.bin/find/find.h
+++ b/usr.bin/find/find.h
@@ -119,7 +119,7 @@ typedef struct _plandata {
#define e_len p_un.ex._e_len
typedef struct _option {
- char *name; /* option name */
+ const char *name; /* option name */
creat_f *create; /* create function */
exec_f *execute; /* execute function */
int flags;
OpenPOWER on IntegriCloud