diff options
Diffstat (limited to 'networking/libiproute/utils.h')
-rw-r--r-- | networking/libiproute/utils.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 556541f79..27afb32ac 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -9,13 +9,12 @@ | |||
9 | #include "rtm_map.h" | 9 | #include "rtm_map.h" |
10 | 10 | ||
11 | extern int preferred_family; | 11 | extern int preferred_family; |
12 | extern int show_stats; | 12 | extern smallint show_stats; /* UNUSED */ |
13 | extern int show_details; | 13 | extern smallint show_details; /* UNUSED */ |
14 | extern int show_raw; | 14 | extern smallint show_raw; /* UNUSED */ |
15 | extern int resolve_hosts; | 15 | extern smallint resolve_hosts; /* UNUSED */ |
16 | extern int oneline; | 16 | extern smallint oneline; |
17 | //FIXME! Appears in two .h files! | 17 | extern char _SL_; |
18 | extern const char * _SL_; | ||
19 | 18 | ||
20 | #ifndef IPPROTO_ESP | 19 | #ifndef IPPROTO_ESP |
21 | #define IPPROTO_ESP 50 | 20 | #define IPPROTO_ESP 50 |
@@ -80,7 +79,7 @@ void invarg(const char *, const char *) ATTRIBUTE_NORETURN; | |||
80 | void duparg(const char *, const char *) ATTRIBUTE_NORETURN; | 79 | void duparg(const char *, const char *) ATTRIBUTE_NORETURN; |
81 | void duparg2(const char *, const char *) ATTRIBUTE_NORETURN; | 80 | void duparg2(const char *, const char *) ATTRIBUTE_NORETURN; |
82 | int matches(const char *arg, const char *pattern); | 81 | int matches(const char *arg, const char *pattern); |
83 | extern 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); |
84 | 83 | ||
85 | 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); |
86 | int dnet_pton(int af, const char *src, void *addr); | 85 | int dnet_pton(int af, const char *src, void *addr); |