diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-10 18:43:27 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-10 18:43:27 +0000 |
commit | e87d7955f8130040a575f2f48962471a27ccc964 (patch) | |
tree | 149be152e5af1468e88859842a4a7b59ab0a4773 /networking/libiproute | |
parent | 51f7ab6162a1be2e52d7b2ccc53acb6700769d0b (diff) | |
download | busybox-w32-e87d7955f8130040a575f2f48962471a27ccc964.tar.gz busybox-w32-e87d7955f8130040a575f2f48962471a27ccc964.tar.bz2 busybox-w32-e87d7955f8130040a575f2f48962471a27ccc964.zip |
- rewrite the ip applet to be less bloaty
- mark libiproute's matches() as deprecated. Convert to index_in_(sub)str_array()!
text data bss dec hex filename
314 0 0 314 13a ip.o.orig
200 0 0 200 c8 ip.o
Using a smallint for the key would save another byte.
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 27afb32ac..3b6fef1e3 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -78,7 +78,7 @@ extern const char *rt_addr_n2a(int af, int len, void *addr, char *buf, int bufle | |||
78 | void invarg(const char *, const char *) ATTRIBUTE_NORETURN; | 78 | void invarg(const char *, const char *) ATTRIBUTE_NORETURN; |
79 | void duparg(const char *, const char *) ATTRIBUTE_NORETURN; | 79 | void duparg(const char *, const char *) ATTRIBUTE_NORETURN; |
80 | void duparg2(const char *, const char *) ATTRIBUTE_NORETURN; | 80 | void duparg2(const char *, const char *) ATTRIBUTE_NORETURN; |
81 | int matches(const char *arg, const char *pattern); | 81 | int ATTRIBUTE_DEPRECATED matches(const char *arg, const char *pattern); |
82 | int inet_addr_match(inet_prefix *a, inet_prefix *b, int bits); | 82 | int inet_addr_match(inet_prefix *a, inet_prefix *b, int bits); |
83 | 83 | ||
84 | const char *dnet_ntop(int af, const void *addr, char *str, size_t len); | 84 | const char *dnet_ntop(int af, const void *addr, char *str, size_t len); |