aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/utils.h')
-rw-r--r--networking/libiproute/utils.h4
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
9extern int preferred_family; 9extern family_t preferred_family;
10extern smallint show_stats; /* UNUSED */ 10extern smallint show_stats; /* UNUSED */
11extern smallint show_details; /* UNUSED */ 11extern smallint show_details; /* UNUSED */
12extern smallint show_raw; /* UNUSED */ 12extern smallint show_raw; /* UNUSED */
@@ -26,7 +26,7 @@ extern char _SL_;
26 26
27extern void incomplete_command(void) ATTRIBUTE_NORETURN; 27extern 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
31typedef struct 31typedef struct
32{ 32{