diff options
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 2 | ||||
-rw-r--r-- | networking/libiproute/ipaddress.c | 4 | ||||
-rw-r--r-- | networking/ping.c | 4 | ||||
-rw-r--r-- | networking/ping6.c | 4 | ||||
-rw-r--r-- | networking/telnet.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 9e6fc62..c3cfcd8 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -1133,7 +1133,7 @@ static llist_t *find_iface_state(llist_t *state_list, const char *iface) return(NULL); } -extern int ifupdown_main(int argc, char **argv) +int ifupdown_main(int argc, char **argv) { int (*cmds) (struct interface_defn_t *) = NULL; struct interfaces_file_t *defn; diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index d7a0c51..bcb4880 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c @@ -414,7 +414,7 @@ static void ipaddr_reset_filter(int _oneline) filter.oneline = _oneline; } -extern int ipaddr_list_or_flush(int argc, char **argv, int flush) +int ipaddr_list_or_flush(int argc, char **argv, int flush) { static const char *const option[] = { "to", "scope", "up", "label", "dev", 0 }; @@ -805,7 +805,7 @@ static int ipaddr_modify(int cmd, int argc, char **argv) exit(0); } -extern int do_ipaddr(int argc, char **argv) +int do_ipaddr(int argc, char **argv) { static const char *const commands[] = { "add", "delete", "list", "show", "lst", "flush", 0 diff --git a/networking/ping.c b/networking/ping.c index 14373c8..47b9f8f 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -138,7 +138,7 @@ static void ping(const char *host) return; } -extern int ping_main(int argc, char **argv) +int ping_main(int argc, char **argv) { argc--; argv++; @@ -377,7 +377,7 @@ static void ping(const char *host) pingstats(0); } -extern int ping_main(int argc, char **argv) +int ping_main(int argc, char **argv) { char *thisarg; diff --git a/networking/ping6.c b/networking/ping6.c index 1d7271d..42cf278 100644 --- a/networking/ping6.c +++ b/networking/ping6.c @@ -139,7 +139,7 @@ static void ping(const char *host) return; } -extern int ping6_main(int argc, char **argv) +int ping6_main(int argc, char **argv) { argc--; argv++; @@ -423,7 +423,7 @@ static void ping(const char *host) pingstats(0); } -extern int ping6_main(int argc, char **argv) +int ping6_main(int argc, char **argv) { char *thisarg; diff --git a/networking/telnet.c b/networking/telnet.c index 05c7786..ca4896b 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -613,7 +613,7 @@ static void cookmode(void) if (G.do_termios) tcsetattr(0, TCSADRAIN, &G.termios_def); } -extern int telnet_main(int argc, char** argv) +int telnet_main(int argc, char** argv) { int len; struct sockaddr_in s_in; |