diff options
author | Ed Schouten <ed@FreeBSD.org> | 2012-10-19 05:43:38 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2012-10-19 05:43:38 +0000 |
commit | ae824d80f28cd14c0c0ec75076c796e6a369bc18 (patch) | |
tree | 4ffbcf3b1f945e0ae5715cc8c2500ff622b14872 /sbin/rcorder | |
parent | 8241616dc534f6cf0c95abe6b61bc2bb0378fc91 (diff) | |
download | src-ae824d80f28cd14c0c0ec75076c796e6a369bc18.tar.gz src-ae824d80f28cd14c0c0ec75076c796e6a369bc18.zip |
Fix warnings found by -Wmising-variable-declarations.
This self-written compiler warning, which is hopefully going to be
committed into LLVM sources soon, warns about potentially missing
`static' keywords, similar to -Wmissing-prototypes.
- bin/pax: Move external declaration of chdname and s_mask into extern.h.
- bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h.
- sbin/mount_fusefs: Remove char *progname; use getprogname().
- others: add `static' where possible.
Notes
Notes:
svn path=/head/; revision=241720
Diffstat (limited to 'sbin/rcorder')
-rw-r--r-- | sbin/rcorder/rcorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c index c92d06339928..83f6df839682 100644 --- a/sbin/rcorder/rcorder.c +++ b/sbin/rcorder/rcorder.c @@ -84,7 +84,7 @@ typedef bool flag; #define SET TRUE #define RESET FALSE -Hash_Table provide_hash_s, *provide_hash; +static Hash_Table provide_hash_s, *provide_hash; typedef struct provnode provnode; typedef struct filenode filenode; |