From 3b162ecdf6955e9610ec051e21b91a3efe48a030 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 4 Jun 2008 07:59:51 +0000 Subject: networking/interface.c: fix indentation --- networking/ifconfig.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'networking/ifconfig.c') diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 965fca344..e999741d1 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -252,20 +252,13 @@ static const struct options OptArray[] = { /* * A couple of prototypes. */ - #if ENABLE_FEATURE_IFCONFIG_HW static int in_ether(const char *bufp, struct sockaddr *sap); -# if ENABLE_FEATURE_HWIB -extern int in_ib(const char *bufp, struct sockaddr *sap); -# else -# define in_ib(a, b) 1 /* fail */ -# endif #endif /* * Our main function. */ - int ifconfig_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ifconfig_main(int argc, char **argv) { @@ -436,8 +429,7 @@ int ifconfig_main(int argc, char **argv) bb_show_usage(); /*safe_strncpy(host, *argv, sizeof(host));*/ host = *argv; - if (hw_class == 1 ? in_ether(host, &sa) - : in_ib(host, &sa)) + if (hw_class == 1 ? in_ether(host, &sa) : in_ib(host, &sa)) bb_error_msg_and_die("invalid hw-addr %s", host); p = (char *) &sa; } -- cgit v1.2.3-55-g6feb