diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libipt_SET.c | 6 | ||||
-rw-r--r-- | extensions/libipt_set.c | 4 | ||||
-rw-r--r-- | extensions/libxt_CONNSECMARK.c | 4 | ||||
-rw-r--r-- | extensions/libxt_SECMARK.c | 2 | ||||
-rw-r--r-- | extensions/libxt_quota.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/extensions/libipt_SET.c b/extensions/libipt_SET.c index 378b77e4..62d959fe 100644 --- a/extensions/libipt_SET.c +++ b/extensions/libipt_SET.c @@ -34,9 +34,9 @@ static void SET_help(void) } static const struct option SET_opts[] = { - {"add-set", 1, 0, '1'}, - {"del-set", 1, 0, '2'}, - {0} + {"add-set", 1, NULL, '1'}, + {"del-set", 1, NULL, '2'}, + { } }; /* Initialize the target. */ diff --git a/extensions/libipt_set.c b/extensions/libipt_set.c index dcb74df9..759bca33 100644 --- a/extensions/libipt_set.c +++ b/extensions/libipt_set.c @@ -32,8 +32,8 @@ static void set_help(void) } static const struct option set_opts[] = { - {"set", 1, 0, '1'}, - {0} + {"set", 1, NULL, '1'}, + { } }; /* Initialize the match. */ diff --git a/extensions/libxt_CONNSECMARK.c b/extensions/libxt_CONNSECMARK.c index 579ea4c3..2c425cb8 100644 --- a/extensions/libxt_CONNSECMARK.c +++ b/extensions/libxt_CONNSECMARK.c @@ -23,8 +23,8 @@ static void CONNSECMARK_help(void) } static const struct option CONNSECMARK_opts[] = { - { "save", 0, 0, '1' }, - { "restore", 0, 0, '2' }, + { "save", 0, NULL, '1' }, + { "restore", 0, NULL, '2' }, { .name = NULL } }; diff --git a/extensions/libxt_SECMARK.c b/extensions/libxt_SECMARK.c index feee0e43..7d3dbfa2 100644 --- a/extensions/libxt_SECMARK.c +++ b/extensions/libxt_SECMARK.c @@ -22,7 +22,7 @@ static void SECMARK_help(void) } static const struct option SECMARK_opts[] = { - { "selctx", 1, 0, '1' }, + { "selctx", 1, NULL, '1' }, { .name = NULL } }; diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index a642aa49..8e178fe7 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -77,7 +77,7 @@ quota_parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -struct xtables_match quota_match = { +static struct xtables_match quota_match = { .family = AF_UNSPEC, .name = "quota", .version = XTABLES_VERSION, |