From b7ec6580100588b92f69bae020a3b2bbaace18fb Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 10 Oct 1999 17:36:11 +0000 Subject: Further cleanup. Also remove the following unused or defunct tokens: and, bio, cam, master, minor, net, priority, sequential, size, slave, trace --- usr.sbin/config/mkoptions.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'usr.sbin/config/mkoptions.c') 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; } -- cgit v1.1