diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-11-04 13:36:02 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-11-04 13:36:02 +0000 |
commit | 1efe3c6b58ea5d0e5a0d49039d84d00f2370c7de (patch) | |
tree | 3cdfecf4c6772b1de7694dadb6b4b6431ecfdb02 /sbin/rcorder | |
parent | 543d97bb43fb77ba5b415ea464b9bb32b614d65c (diff) | |
download | src-test2-1efe3c6b58ea5d0e5a0d49039d84d00f2370c7de.tar.gz src-test2-1efe3c6b58ea5d0e5a0d49039d84d00f2370c7de.zip |
Add missing static keywords for global variables to tools in sbin/.
These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.
Notes
Notes:
svn path=/head/; revision=227081
Diffstat (limited to 'sbin/rcorder')
-rw-r--r-- | sbin/rcorder/rcorder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c index 9a9959b62558..5eedc484509b 100644 --- a/sbin/rcorder/rcorder.c +++ b/sbin/rcorder/rcorder.c @@ -73,9 +73,9 @@ int debug = 0; #define KEYWORDS_STR "# KEYWORDS:" #define KEYWORDS_LEN (sizeof(KEYWORDS_STR) - 1) -int exit_code; -int file_count; -char **file_list; +static int exit_code; +static int file_count; +static char **file_list; typedef int bool; #define TRUE 1 |