diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-05 18:05:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-05 18:05:09 +0000 |
commit | 5af906e7c834301a0f237b50e1a1474ce0cf6da0 (patch) | |
tree | 8a5a2783a458269715a05dc48236cae8b1cb1ee0 /networking/ip.c | |
parent | 402151671b58b264f9c023e8e29615b3dc3c9acc (diff) | |
download | busybox-w32-5af906e7c834301a0f237b50e1a1474ce0cf6da0.tar.gz busybox-w32-5af906e7c834301a0f237b50e1a1474ce0cf6da0.tar.bz2 busybox-w32-5af906e7c834301a0f237b50e1a1474ce0cf6da0.zip |
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 fe5714f16..636315597 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -12,20 +12,11 @@ | |||
12 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses | 12 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <stdio.h> | 15 | #include "busybox.h" |
16 | #include <stdlib.h> | ||
17 | #include <unistd.h> | ||
18 | #include <syslog.h> | ||
19 | #include <fcntl.h> | ||
20 | #include <sys/socket.h> | ||
21 | #include <netinet/in.h> | ||
22 | #include <string.h> | ||
23 | 16 | ||
24 | #include "libiproute/utils.h" | 17 | #include "libiproute/utils.h" |
25 | #include "libiproute/ip_common.h" | 18 | #include "libiproute/ip_common.h" |
26 | 19 | ||
27 | #include "busybox.h" | ||
28 | |||
29 | int ip_main(int argc, char **argv) | 20 | int ip_main(int argc, char **argv) |
30 | { | 21 | { |
31 | int ret = EXIT_FAILURE; | 22 | int ret = EXIT_FAILURE; |
@@ -57,5 +48,5 @@ int ip_main(int argc, char **argv) | |||
57 | if (ret) { | 48 | if (ret) { |
58 | bb_show_usage(); | 49 | bb_show_usage(); |
59 | } | 50 | } |
60 | return(EXIT_SUCCESS); | 51 | return EXIT_SUCCESS; |
61 | } | 52 | } |