From d2dafc91d890c8f0423566d00bccc7ba66c37bcd Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 12 Mar 2009 10:04:00 -0700 Subject: [PATCH] cfg: Make 'cfg_cookie' static. There is use of a variable of the same name in vswitchd/mgmt.c, but that one is static so it's OK to make this one static too. --- lib/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cfg.c b/lib/cfg.c index 07a7d437..67f8152a 100644 --- a/lib/cfg.c +++ b/lib/cfg.c @@ -66,7 +66,7 @@ static int lock_fd = -1; /* Flag to indicate whether local modifications have been made. */ static bool dirty; -uint8_t cfg_cookie[CFG_COOKIE_LEN]; +static uint8_t cfg_cookie[CFG_COOKIE_LEN]; /* Current configuration. Maintained in sorted order. */ static struct svec cfg = SVEC_EMPTY_INITIALIZER; -- 2.30.2