diff options
Diffstat (limited to 'networking/libiproute/utils.h')
-rw-r--r-- | networking/libiproute/utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 06b1f04ab..607083af8 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -28,7 +28,7 @@ extern char _SL_; | |||
28 | #define SPRINT_BSIZE 64 | 28 | #define SPRINT_BSIZE 64 |
29 | #define SPRINT_BUF(x) char x[SPRINT_BSIZE] | 29 | #define SPRINT_BUF(x) char x[SPRINT_BSIZE] |
30 | 30 | ||
31 | extern void incomplete_command(void) ATTRIBUTE_NORETURN; | 31 | extern void incomplete_command(void) NORETURN; |
32 | 32 | ||
33 | #define NEXT_ARG() do { if (!*++argv) incomplete_command(); } while (0) | 33 | #define NEXT_ARG() do { if (!*++argv) incomplete_command(); } while (0) |
34 | 34 | ||
@@ -76,9 +76,9 @@ extern int get_s8(int8_t *val, char *arg, int base); | |||
76 | extern const char *format_host(int af, int len, void *addr, char *buf, int buflen); | 76 | extern const char *format_host(int af, int len, void *addr, char *buf, int buflen); |
77 | extern const char *rt_addr_n2a(int af, int len, void *addr, char *buf, int buflen); | 77 | extern const char *rt_addr_n2a(int af, int len, void *addr, char *buf, int buflen); |
78 | 78 | ||
79 | void invarg(const char *, const char *) ATTRIBUTE_NORETURN; | 79 | void invarg(const char *, const char *) NORETURN; |
80 | void duparg(const char *, const char *) ATTRIBUTE_NORETURN; | 80 | void duparg(const char *, const char *) NORETURN; |
81 | void duparg2(const char *, const char *) ATTRIBUTE_NORETURN; | 81 | void duparg2(const char *, const char *) NORETURN; |
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); |