diff options
author | Bernhard Reutner-Fischer | 2007-06-21 10:20:13 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2007-06-21 10:20:13 +0000 |
commit | 789b87edf573bcd432c6bd38ed1dabb2e45866cd (patch) | |
tree | d78872a36effc499d478707eed89f6af96ea0958 /networking/libiproute/utils.c | |
parent | 833358798afe256352b4ba62a3d93e5273ce6533 (diff) | |
download | busybox-789b87edf573bcd432c6bd38ed1dabb2e45866cd.zip busybox-789b87edf573bcd432c6bd38ed1dabb2e45866cd.tar.gz |
- remove matches() from networking/. Untested.
text data bss dec hex filename
1705 0 0 1705 6a9 networking/libiproute/utils.o.orig
1676 0 0 1676 68c networking/libiproute/utils.o
766 0 0 766 2fe networking/libiproute/rtm_map.o.orig
670 0 0 670 29e networking/libiproute/rtm_map.o
4942 0 0 4942 134e networking/libiproute/iptunnel.o.orig
4687 0 0 4687 124f networking/libiproute/iptunnel.o
Diffstat (limited to 'networking/libiproute/utils.c')
-rw-r--r-- | networking/libiproute/utils.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c index a0d0824..e63bb27 100644 --- a/networking/libiproute/utils.c +++ b/networking/libiproute/utils.c @@ -251,13 +251,6 @@ void duparg2(const char *key, const char *arg) bb_error_msg_and_die("either \"%s\" is duplicate, or \"%s\" is garbage", key, arg); } -int matches(const char *cmd, const char *pattern) -{ - int len = strlen(cmd); - - return strncmp(pattern, cmd, len); -} - int inet_addr_match(inet_prefix * a, inet_prefix * b, int bits) { uint32_t *a1 = a->data; |