diff options
author | Ed Schouten <ed@FreeBSD.org> | 2012-10-19 14:49:42 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2012-10-19 14:49:42 +0000 |
commit | bf70becee6ff4798acdcfd586a88ad38b7b17495 (patch) | |
tree | ddffe542a2e921ec48c73d322a2046f559a9d74f /usr.sbin/ctladm/util.c | |
parent | 39893d565a6c4b948fc0ba1b8c22ee1d57f2aaa4 (diff) | |
download | src-bf70becee6ff4798acdcfd586a88ad38b7b17495.tar.gz src-bf70becee6ff4798acdcfd586a88ad38b7b17495.zip |
More -Wmissing-variable-declarations fixes.
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
Notes
Notes:
svn path=/head/; revision=241737
Diffstat (limited to 'usr.sbin/ctladm/util.c')
-rw-r--r-- | usr.sbin/ctladm/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctladm/util.c b/usr.sbin/ctladm/util.c index df13357d0360..52d8d172332e 100644 --- a/usr.sbin/ctladm/util.c +++ b/usr.sbin/ctladm/util.c @@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$"); #include <camlib.h> #include "ctladm.h" -int verbose; +static int verbose; /* iget: Integer argument callback */ |