aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_msdosfs/dir.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-04 13:36:02 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-04 13:36:02 +0000
commit1efe3c6b58ea5d0e5a0d49039d84d00f2370c7de (patch)
tree3cdfecf4c6772b1de7694dadb6b4b6431ecfdb02 /sbin/fsck_msdosfs/dir.c
parent543d97bb43fb77ba5b415ea464b9bb32b614d65c (diff)
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/fsck_msdosfs/dir.c')
-rw-r--r--sbin/fsck_msdosfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_msdosfs/dir.c b/sbin/fsck_msdosfs/dir.c
index f2ecff351638..1dc4456bc3f3 100644
--- a/sbin/fsck_msdosfs/dir.c
+++ b/sbin/fsck_msdosfs/dir.c
@@ -153,7 +153,7 @@ freeDirTodo(struct dirTodoNode *dt)
/*
* The stack of unread directories
*/
-struct dirTodoNode *pendingDirectories = NULL;
+static struct dirTodoNode *pendingDirectories = NULL;
/*
* Return the full pathname for a directory entry.