From: Ben Pfaff Date: Wed, 11 Mar 2009 21:34:23 +0000 (-0700) Subject: cfg: Make lock_fd, dirty static. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddd819576c4f8a3d64e0cba116e7fbd9989bf2fa;p=openvswitch cfg: Make lock_fd, dirty static. These aren't used elsewhere, so there is no reason for them to be extern. --- diff --git a/lib/cfg.c b/lib/cfg.c index ee5cf6fb..4a1e0a03 100644 --- 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];