summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-26 17:40:33 +0000
committerDenis Vlasenko2006-12-26 17:40:33 +0000
commit270c17c0e66ffe9fe0e47e891a583b5c6f8512ef (patch)
treea4ba5d3f63cec034bb24507e123a63d4fda581b6 /networking
parent3ef70d43adfa3eb0f74fefd72d05578b3e332b76 (diff)
downloadbusybox-270c17c0e66ffe9fe0e47e891a583b5c6f8512ef.zip
busybox-270c17c0e66ffe9fe0e47e891a583b5c6f8512ef.tar.gz
properly export externs thru *.h files
Diffstat (limited to 'networking')
-rw-r--r--networking/ifconfig.c5
-rw-r--r--networking/interface.c1
2 files changed, 0 insertions, 6 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index dd4ce5e..9cdd41c 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -257,11 +257,6 @@ static const struct options OptArray[] = {
static int in_ether(const char *bufp, struct sockaddr *sap);
#endif
-#if ENABLE_FEATURE_IFCONFIG_STATUS
-extern int interface_opt_a;
-extern int display_interfaces(char *ifname);
-#endif
-
/*
* Our main function.
*/
diff --git a/networking/interface.c b/networking/interface.c
index 1d194f3..b39298c 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -1133,7 +1133,6 @@ static int if_print(char *ifname)
return res;
}
-int display_interfaces(char *ifname);
int display_interfaces(char *ifname)
{
int status;