aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-03-28 01:00:09 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-03-28 01:00:09 +0000
commit2570b2e5759e8ac32b0922d71056bd426caae9f1 (patch)
tree742bbe33b5ec8ede49147150a2402472172be74b /networking
parentcf26ab70c11416401cd53e6a6a5fb4d5c2583246 (diff)
downloadbusybox-2570b2e5759e8ac32b0922d71056bd426caae9f1.tar.gz
busybox-2570b2e5759e8ac32b0922d71056bd426caae9f1.tar.bz2
whitespace fixes
Diffstat (limited to 'networking')
-rw-r--r--networking/ifenslave.c2
-rw-r--r--networking/ip.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index 875e835e7..b11951758 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -129,7 +129,7 @@ struct globals {
#define master (G.master )
#define slave (G.slave )
#define INIT_G() do { \
- SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
+ SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
} while (0)
diff --git a/networking/ip.c b/networking/ip.c
index bb409c5ce..5249217eb 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -39,35 +39,35 @@ static int ip_do(int (*ip_func)(char **argv), char **argv)
int ipaddr_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int ipaddr_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
- return ip_do(do_ipaddr, argv);
+ return ip_do(do_ipaddr, argv);
}
#endif
#if ENABLE_FEATURE_IP_LINK
int iplink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int iplink_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
- return ip_do(do_iplink, argv);
+ return ip_do(do_iplink, argv);
}
#endif
#if ENABLE_FEATURE_IP_ROUTE
int iproute_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int iproute_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
- return ip_do(do_iproute, argv);
+ return ip_do(do_iproute, argv);
}
#endif
#if ENABLE_FEATURE_IP_RULE
int iprule_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int iprule_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
- return ip_do(do_iprule, argv);
+ return ip_do(do_iprule, argv);
}
#endif
#if ENABLE_FEATURE_IP_TUNNEL
int iptunnel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int iptunnel_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
- return ip_do(do_iptunnel, argv);
+ return ip_do(do_iptunnel, argv);
}
#endif