From: Ben Pfaff Date: Thu, 12 Mar 2009 17:04:00 +0000 (-0700) Subject: cfg: Make 'cfg_cookie' static. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2dafc91d890c8f0423566d00bccc7ba66c37bcd;p=openvswitch 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. --- 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;