bridge: make local variables static

enable_color and set_color_palette only used here.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Stephen Hemminger 2018-11-15 14:36:25 -08:00
parent 13530c46b5
commit d63786c642
2 changed files with 3 additions and 4 deletions

View File

@ -23,12 +23,11 @@ int preferred_family = AF_UNSPEC;
int oneline;
int show_stats;
int show_details;
int show_pretty;
int color;
static int color;
int compress_vlans;
int json;
int timestamp;
char *batch_file;
static const char *batch_file;
int force;
static void usage(void) __attribute__((noreturn));

View File

@ -27,7 +27,7 @@
static void usage(void) __attribute__((noreturn));
int prefix_banner;
static int prefix_banner;
static void usage(void)
{