From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH iproute2 07/22] bridge: make local variables static Date: Thu, 15 Nov 2018 14:36:25 -0800 Message-ID: <20181115223640.411-8-stephen@networkplumber.org> References: <20181115223640.411-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-pg1-f194.google.com ([209.85.215.194]:42553 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727195AbeKPIqd (ORCPT ); Fri, 16 Nov 2018 03:46:33 -0500 Received: by mail-pg1-f194.google.com with SMTP id d72so6206764pga.9 for ; Thu, 15 Nov 2018 14:36:50 -0800 (PST) In-Reply-To: <20181115223640.411-1-stephen@networkplumber.org> Sender: netdev-owner@vger.kernel.org List-ID: enable_color and set_color_palette only used here. Signed-off-by: Stephen Hemminger --- bridge/bridge.c | 5 ++--- bridge/monitor.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bridge/bridge.c b/bridge/bridge.c index ac4d6a14f510..389f1bd5382b 100644 --- a/bridge/bridge.c +++ b/bridge/bridge.c @@ -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)); diff --git a/bridge/monitor.c b/bridge/monitor.c index 82bc6b407a06..708a1bd2ccb0 100644 --- a/bridge/monitor.c +++ b/bridge/monitor.c @@ -27,7 +27,7 @@ static void usage(void) __attribute__((noreturn)); -int prefix_banner; +static int prefix_banner; static void usage(void) { -- 2.17.1