diff options
author | ed <ed@FreeBSD.org> | 2012-10-19 05:43:38 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-10-19 05:43:38 +0000 |
commit | fbb83e78c0ca90b09e1e9c0a76030f46f419dcaf (patch) | |
tree | 4ffbcf3b1f945e0ae5715cc8c2500ff622b14872 /bin/pax/options.c | |
parent | c6ac8508b2ea2c486313c4fbfef377e83807af8f (diff) | |
download | FreeBSD-src-fbb83e78c0ca90b09e1e9c0a76030f46f419dcaf.zip FreeBSD-src-fbb83e78c0ca90b09e1e9c0a76030f46f419dcaf.tar.gz |
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.
Diffstat (limited to 'bin/pax/options.c')
-rw-r--r-- | bin/pax/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pax/options.c b/bin/pax/options.c index 5fd641f..32d967e 100644 --- a/bin/pax/options.c +++ b/bin/pax/options.c @@ -81,6 +81,7 @@ static void cpio_usage(void); #define GETLINE_OUT_OF_MEM 2 static int getline_error; +char *chdname; #define GZIP_CMD "gzip" /* command to run as gzip */ #define COMPRESS_CMD "compress" /* command to run as compress */ |