- 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
This commit is contained in:
Bernhard Reutner-Fischer
2007-06-21 10:20:13 +00:00
parent 833358798a
commit 789b87edf5
4 changed files with 95 additions and 61 deletions

View File

@ -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;