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

@@ -22,7 +22,7 @@ enum {
static const struct option logmark_tg_opts[] = {
{.name = "log-level", .has_arg = true, .val = 'l'},
{.name = "log-prefix", .has_arg = true, .val = 'p'},
{},
{NULL},
};
static void logmark_tg_help(void)