summaryrefslogtreecommitdiff
path: root/sbin/dhclient/conflex.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-04 01:50:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-04 01:50:23 +0000
commit77612aa1f9873569e9861ee65b9c341098424f6a (patch)
treed69fdc2c93eaac47c02d59bd5bf1dec37db9bdae /sbin/dhclient/conflex.c
parent777095e5d23736562e8d2b195eeaca5494e465c6 (diff)
more KNF
Diffstat (limited to 'sbin/dhclient/conflex.c')
-rw-r--r--sbin/dhclient/conflex.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/dhclient/conflex.c b/sbin/dhclient/conflex.c
index 92a67774066..5b4ffe266bb 100644
--- a/sbin/dhclient/conflex.c
+++ b/sbin/dhclient/conflex.c
@@ -89,7 +89,7 @@ get_char(FILE *cfile)
int c = getc (cfile);
if (!ugflag) {
if (c == EOL) {
- if (cur_line == line1) {
+ if (cur_line == line1) {
cur_line = line2;
prev_line = line1;
} else {
@@ -108,11 +108,11 @@ get_char(FILE *cfile)
}
} else
ugflag = 0;
- return c;
+ return c;
}
static int
-get_token (FILE *cfile)
+get_token(FILE *cfile)
{
int c, ttok;
static char tb[2];
@@ -270,7 +270,7 @@ read_number(int c, FILE *cfile)
tokbuf[i] = c;
}
if (i == sizeof(tokbuf)) {
- parse_warn ("numeric token larger than internal buffer");
+ parse_warn("numeric token larger than internal buffer");
--i;
}
tokbuf[i] = 0;
@@ -280,7 +280,7 @@ read_number(int c, FILE *cfile)
}
static int
-read_num_or_name (int c, FILE *cfile)
+read_num_or_name(int c, FILE *cfile)
{
int i = 0;
int rv = NUMBER_OR_NAME;
@@ -313,7 +313,7 @@ intern(char *atom, int dfv)
if (!isascii(atom[0]))
return dfv;
- switch(tolower(atom[0])) {
+ switch (tolower(atom[0])) {
case 'a':
if (!strcasecmp(atom + 1, "lways-reply-rfc1048"))
return (ALWAYS_REPLY_RFC1048);