cfg: Make lock_fd, dirty static.
authorBen Pfaff <blp@nicira.com>
Wed, 11 Mar 2009 21:34:23 +0000 (14:34 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 Mar 2009 21:44:57 +0000 (14:44 -0700)
These aren't used elsewhere, so there is no reason for them to be extern.

lib/cfg.c

index ee5cf6fb519f49a5e3e41ffba637868a83b987d9..4a1e0a0389ec0b124faa77f932bf9a20e4c93086 100644 (file)
--- a/lib/cfg.c
+++ b/lib/cfg.c
@@ -61,10 +61,10 @@ static char *tmp_name;
 
 /* Lock information. */
 static char *lock_name;
-int lock_fd = -1;
+static int lock_fd = -1;
 
 /* Flag to indicate whether local modifications have been made. */
-bool dirty;
+static bool dirty;
 
 uint8_t cfg_cookie[CFG_COOKIE_LEN];