From: markus schnalke Date: Thu, 29 Mar 2012 21:00:30 +0000 (+0200) Subject: Added missing NULL sentinels in switches array. X-Git-Tag: mmh-thesis-end~114 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=a0a7003193b14d2965fdeb6e07cd20605d179e1f;p=mmh Added missing NULL sentinels in switches array. --- diff --git a/uip/inc.c b/uip/inc.c index 5142ae3..2fbb9b6 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -64,6 +64,7 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 12 { "help", 0 }, + { NULL, 0 }, }; /* diff --git a/uip/mhlist.c b/uip/mhlist.c index 3104e6f..45f3e9d 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -49,10 +49,6 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 14 { "help", 0 }, - -/* -** switches for debugging -*/ #define DEBUGSW 15 { "debug", -5 }, { NULL, 0 } diff --git a/uip/mhshow.c b/uip/mhshow.c index 4a07d01..b43d5a8 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -47,9 +47,6 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 13 { "help", 0 }, -/* -** switches for debugging -*/ #define DEBUGSW 14 { "debug", -5 }, { NULL, 0 } diff --git a/uip/mhtest.c b/uip/mhtest.c index 37174de..164d390 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -43,10 +43,6 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 11 { "help", 0 }, - -/* -** switches for debugging -*/ #define DEBUGSW 12 { "debug", -5 }, { NULL, 0 } diff --git a/uip/msgchk.c b/uip/msgchk.c index e2707d3..ee81226 100644 --- a/uip/msgchk.c +++ b/uip/msgchk.c @@ -23,6 +23,7 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 5 { "help", 0 }, + { NULL, 0 }, }; /*