src: add NULL to sentinel struct option

This commit is contained in:
Jan Engelhardt
2008-11-18 11:29:57 +01:00
parent 25e2fbdf7d
commit 3c0b26c4b9
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ enum {
static const struct option chaos_tg_opts[] = {
{.name = "delude", .has_arg = false, .val = 'd'},
{.name = "tarpit", .has_arg = false, .val = 't'},
{},
{NULL},
};
static void chaos_tg_help(void)