diff options
Diffstat (limited to 'usr.sbin/config/mkoptions.c')
-rw-r--r-- | usr.sbin/config/mkoptions.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index f413a7b..89af213 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -51,8 +51,6 @@ static const char rcsid[] = #include "config.h" #include "y.tab.h" -#define ns(s) strdup(s) - static struct users { int u_default; int u_min; @@ -298,7 +296,7 @@ openit: if (fp == 0) { return; } - if(ident == NULL) { + if (ident == NULL) { printf("no ident line specified\n"); exit(1); } @@ -322,12 +320,9 @@ next: } if (wd == 0) goto next; - /*************************************************\ - * If it's a comment ignore to the end of the line * - \*************************************************/ - if(wd[0] == '#') + if (wd[0] == '#') { - while( ((wd = get_word(fp)) != (char *)EOF) && wd) + while (((wd = get_word(fp)) != (char *)EOF) && wd) ; goto next; } |