From ddd819576c4f8a3d64e0cba116e7fbd9989bf2fa Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 11 Mar 2009 14:34:23 -0700 Subject: [PATCH] cfg: Make lock_fd, dirty static. These aren't used elsewhere, so there is no reason for them to be extern. --- lib/cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.30.2