From: Stephen Hemminger Date: Thu, 15 Nov 2018 22:36:26 +0000 (-0800) Subject: ip: make flag names const/static X-Git-Tag: v4.20.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=086277b5913e3f30789fbe1e9036324fd73cfec7;p=thirdparty%2Fiproute2.git ip: make flag names const/static The table of filter flags is only used in ipaddress Signed-off-by: Stephen Hemminger --- diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 7212f082b..21985a5ee 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -1149,7 +1149,7 @@ static unsigned int get_ifa_flags(struct ifaddrmsg *ifa, } /* Mapping from argument to address flag mask */ -struct { +static const struct { const char *name; unsigned long value; } ifa_flag_names[] = {