summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_owner.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-01-29 13:48:05 +0000
committerPatrick McHardy <kaber@trash.net>2008-01-29 13:48:05 +0000
commit9ee386a1b6d7704b259460152c959ab0e79e02aa (patch)
tree13f39ec579024d42beb0ce6509b0c935dbe8ca03 /extensions/libxt_owner.c
parentfe05c768f877bcc69c13d7a9cb1d2b33ef56f600 (diff)
fix gcc warnings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'extensions/libxt_owner.c')
-rw-r--r--extensions/libxt_owner.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c
index 62b8b885..ea86f998 100644
--- a/extensions/libxt_owner.c
+++ b/extensions/libxt_owner.c
@@ -81,7 +81,7 @@ static const struct option owner_mt_opts_v0[] = {
#ifdef IPT_OWNER_COMM
{.name = "cmd-owner", .has_arg = true, .val = 'c'},
#endif
- {},
+ { .name = NULL }
};
static const struct option owner_mt6_opts_v0[] = {
@@ -89,14 +89,14 @@ static const struct option owner_mt6_opts_v0[] = {
{.name = "gid-owner", .has_arg = true, .val = 'g'},
{.name = "pid-owner", .has_arg = true, .val = 'p'},
{.name = "sid-owner", .has_arg = true, .val = 's'},
- {},
+ { .name = NULL }
};
static const struct option owner_mt_opts[] = {
{.name = "uid-owner", .has_arg = true, .val = 'u'},
{.name = "gid-owner", .has_arg = true, .val = 'g'},
{.name = "socket-exists", .has_arg = false, .val = 'k'},
- {},
+ { .name = NULL }
};
static int