diff options
Diffstat (limited to 'networking/libiproute/utils.h')
-rw-r--r-- | networking/libiproute/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 2c4dffd95..cd650492d 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #include "ll_map.h" | 6 | #include "ll_map.h" |
7 | #include "rtm_map.h" | 7 | #include "rtm_map.h" |
8 | 8 | ||
9 | extern int preferred_family; | 9 | extern family_t preferred_family; |
10 | extern smallint show_stats; /* UNUSED */ | 10 | extern smallint show_stats; /* UNUSED */ |
11 | extern smallint show_details; /* UNUSED */ | 11 | extern smallint show_details; /* UNUSED */ |
12 | extern smallint show_raw; /* UNUSED */ | 12 | extern smallint show_raw; /* UNUSED */ |
@@ -26,7 +26,7 @@ extern char _SL_; | |||
26 | 26 | ||
27 | extern void incomplete_command(void) ATTRIBUTE_NORETURN; | 27 | extern void incomplete_command(void) ATTRIBUTE_NORETURN; |
28 | 28 | ||
29 | #define NEXT_ARG() do { argv++; if (--argc <= 0) incomplete_command(); } while (0) | 29 | #define NEXT_ARG() do { if (!*++argv) incomplete_command(); } while (0) |
30 | 30 | ||
31 | typedef struct | 31 | typedef struct |
32 | { | 32 | { |