summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-10-20 15:03:17 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-10-20 15:03:17 +0000
commit71e69bed286e79f1d7cbef77c0902fb86c8d43a3 (patch)
tree2bb34009f993991518fa489bf3b9aafaafba50c5
parent36fee1018310460120b206969001a62fbcb12146 (diff)
prev_line and cur_line can be static.
-rw-r--r--sbin/dhclient/conflex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/conflex.c b/sbin/dhclient/conflex.c
index 169eeee3eaa..4453317b8c4 100644
--- a/sbin/dhclient/conflex.c
+++ b/sbin/dhclient/conflex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conflex.c,v 1.45 2017/10/20 14:55:12 krw Exp $ */
+/* $OpenBSD: conflex.c,v 1.46 2017/10/20 15:03:16 krw Exp $ */
/* Lexical scanner for dhclient config file. */
@@ -64,12 +64,12 @@
int lexline;
int lexchar;
char *token_line;
-char *prev_line;
-char *cur_line;
char *tlname;
static char line1[81];
static char line2[81];
+static char *prev_line;
+static char *cur_line;
static int lpos;
static int line;
static int tlpos;