diff options
author | Denis Vlasenko | 2006-11-05 18:05:09 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-05 18:05:09 +0000 |
commit | 5af906e7c834301a0f237b50e1a1474ce0cf6da0 (patch) | |
tree | 8a5a2783a458269715a05dc48236cae8b1cb1ee0 /networking/ip.c | |
parent | 402151671b58b264f9c023e8e29615b3dc3c9acc (diff) | |
download | busybox-5af906e7c834301a0f237b50e1a1474ce0cf6da0.zip busybox-5af906e7c834301a0f237b50e1a1474ce0cf6da0.tar.gz |
rename: compare_string_array -> index_in_str_array
introduce index_in_substr_array and use it in
iproute2
Diffstat (limited to 'networking/ip.c')
-rw-r--r-- | networking/ip.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/networking/ip.c b/networking/ip.c index fe5714f..6363155 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -12,20 +12,11 @@ * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses */ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <syslog.h> -#include <fcntl.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <string.h> +#include "busybox.h" #include "libiproute/utils.h" #include "libiproute/ip_common.h" -#include "busybox.h" - int ip_main(int argc, char **argv) { int ret = EXIT_FAILURE; @@ -57,5 +48,5 @@ int ip_main(int argc, char **argv) if (ret) { bb_show_usage(); } - return(EXIT_SUCCESS); + return EXIT_SUCCESS; } |