projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa182a3
)
bc: placate compiler warnings
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 8 Jun 2019 10:58:16 +0000
(12:58 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 8 Jun 2019 10:58:16 +0000
(12:58 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/brctl.c
patch
|
blob
|
history
diff --git
a/networking/brctl.c
b/networking/brctl.c
index cbdc7c6b13af0bf124f310400fad72b8c31ba59d..586ca9b0c96a48417d2f1a268b49f7221856b035 100644
(file)
--- a/
networking/brctl.c
+++ b/
networking/brctl.c
@@
-107,6
+107,7
@@
static unsigned str_to_jiffies(const char *time_str)
#define filedata bb_common_bufsiz1
+#if ENABLE_FEATURE_BRCTL_SHOW
static int read_file(const char *name)
{
int n = open_read_close(name, filedata, COMMON_BUFSIZE - 1);
@@
-120,7
+121,6
@@
static int read_file(const char *name)
return n;
}
-#if ENABLE_FEATURE_BRCTL_SHOW
/* NB: we are in /sys/class/net
*/
static int show_bridge(const char *name, int need_hdr)