aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-05-14 17:26:47 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-05-14 17:26:47 +0200
commit8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701 (patch)
tree4bf2806134b65a8734ab6521fb2a1ce243631b42 /networking
parent0545bfa841540a0d7d7e2953bc205eda64144c2e (diff)
downloadbusybox-w32-8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701.tar.gz
busybox-w32-8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701.tar.bz2
busybox-w32-8c317f03f6d4d89fd7b0cc1e6eaf515040b8e701.zip
style fix, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/tc.c6
-rw-r--r--networking/udhcp/dhcpd.c3
-rw-r--r--networking/wget.c2
3 files changed, 7 insertions, 4 deletions
diff --git a/networking/tc.c b/networking/tc.c
index 3e9808328..2e1078d31 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -124,7 +124,8 @@ static char* print_tc_classid(uint32_t cid)
124} 124}
125 125
126/* Get a qdisc handle. Return 0 on success, !0 otherwise. */ 126/* Get a qdisc handle. Return 0 on success, !0 otherwise. */
127static int get_qdisc_handle(uint32_t *h, const char *str) { 127static int get_qdisc_handle(uint32_t *h, const char *str)
128{
128 uint32_t maj; 129 uint32_t maj;
129 char *p; 130 char *p;
130 131
@@ -143,7 +144,8 @@ static int get_qdisc_handle(uint32_t *h, const char *str) {
143} 144}
144 145
145/* Get class ID. Return 0 on success, !0 otherwise. */ 146/* Get class ID. Return 0 on success, !0 otherwise. */
146static int get_tc_classid(uint32_t *h, const char *str) { 147static int get_tc_classid(uint32_t *h, const char *str)
148{
147 uint32_t maj, min; 149 uint32_t maj, min;
148 char *p; 150 char *p;
149 151
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index c46e1721e..0642fc826 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -365,7 +365,8 @@ static int FAST_FUNC read_staticlease(const char *const_line, void *arg)
365 return 1; 365 return 1;
366} 366}
367 367
368static int FAST_FUNC read_optset(const char *line, void *arg) { 368static int FAST_FUNC read_optset(const char *line, void *arg)
369{
369 return udhcp_str2optset(line, arg, 370 return udhcp_str2optset(line, arg,
370 dhcp_optflags, dhcp_option_strings, 371 dhcp_optflags, dhcp_option_strings,
371 /*dhcpv6:*/ 0 372 /*dhcpv6:*/ 0
diff --git a/networking/wget.c b/networking/wget.c
index fa4d21afd..b6f9d605a 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -312,7 +312,7 @@ static void progress_meter(int flag)
312 } 312 }
313} 313}
314#else 314#else
315static ALWAYS_INLINE void progress_meter(int flag UNUSED_PARAM) { } 315static ALWAYS_INLINE void progress_meter(int flag UNUSED_PARAM) {}
316#endif 316#endif
317 317
318 318