diff options
author | peter <peter@FreeBSD.org> | 1999-10-10 17:36:11 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-10-10 17:36:11 +0000 |
commit | b7ec6580100588b92f69bae020a3b2bbaace18fb (patch) | |
tree | bb10d6445ddc5eea5cabc6ce7646ef39d6fcfbaf /usr.sbin/config/mkoptions.c | |
parent | fb060568cc5a18c0787a1cf16b8f628b07e3ef0b (diff) | |
download | FreeBSD-src-b7ec6580100588b92f69bae020a3b2bbaace18fb.zip FreeBSD-src-b7ec6580100588b92f69bae020a3b2bbaace18fb.tar.gz |
Further cleanup. Also remove the following unused or defunct tokens:
and, bio, cam, master, minor, net, priority, sequential, size, slave, trace
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; } |