diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-08 12:58:16 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-06-08 12:58:16 +0200 |
commit | 04a0b7f0805e1faac9e277c46328e8785966fa6c (patch) | |
tree | 2a5dec37ed6f5f3745cd15886031914610665d36 | |
parent | fa182a355a2c389d771f9a66ef8ec40bef094202 (diff) | |
download | busybox-w32-04a0b7f0805e1faac9e277c46328e8785966fa6c.tar.gz busybox-w32-04a0b7f0805e1faac9e277c46328e8785966fa6c.tar.bz2 busybox-w32-04a0b7f0805e1faac9e277c46328e8785966fa6c.zip |
bc: placate compiler warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/brctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/brctl.c b/networking/brctl.c index cbdc7c6b1..586ca9b0c 100644 --- a/networking/brctl.c +++ b/networking/brctl.c | |||
@@ -107,6 +107,7 @@ static unsigned str_to_jiffies(const char *time_str) | |||
107 | 107 | ||
108 | #define filedata bb_common_bufsiz1 | 108 | #define filedata bb_common_bufsiz1 |
109 | 109 | ||
110 | #if ENABLE_FEATURE_BRCTL_SHOW | ||
110 | static int read_file(const char *name) | 111 | static int read_file(const char *name) |
111 | { | 112 | { |
112 | int n = open_read_close(name, filedata, COMMON_BUFSIZE - 1); | 113 | int n = open_read_close(name, filedata, COMMON_BUFSIZE - 1); |
@@ -120,7 +121,6 @@ static int read_file(const char *name) | |||
120 | return n; | 121 | return n; |
121 | } | 122 | } |
122 | 123 | ||
123 | #if ENABLE_FEATURE_BRCTL_SHOW | ||
124 | /* NB: we are in /sys/class/net | 124 | /* NB: we are in /sys/class/net |
125 | */ | 125 | */ |
126 | static int show_bridge(const char *name, int need_hdr) | 126 | static int show_bridge(const char *name, int need_hdr) |