diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 13:18:54 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 13:18:54 +0400 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /networking/libiproute/utils.h | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) |
*: rename ATTRIBUTE_XXX to just XXX.
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_; #define SPRINT_BSIZE 64 #define SPRINT_BUF(x) char x[SPRINT_BSIZE] -extern void incomplete_command(void) ATTRIBUTE_NORETURN; +extern void incomplete_command(void) NORETURN; #define NEXT_ARG() do { if (!*++argv) incomplete_command(); } while (0) @@ -76,9 +76,9 @@ extern int get_s8(int8_t *val, char *arg, int base); extern const char *format_host(int af, int len, void *addr, char *buf, int buflen); extern const char *rt_addr_n2a(int af, int len, void *addr, char *buf, int buflen); -void invarg(const char *, const char *) ATTRIBUTE_NORETURN; -void duparg(const char *, const char *) ATTRIBUTE_NORETURN; -void duparg2(const char *, const char *) ATTRIBUTE_NORETURN; +void invarg(const char *, const char *) NORETURN; +void duparg(const char *, const char *) NORETURN; +void duparg2(const char *, const char *) NORETURN; int inet_addr_match(inet_prefix *a, inet_prefix *b, int bits); const char *dnet_ntop(int af, const void *addr, char *str, size_t len); |