summaryrefslogtreecommitdiff
path: root/common/conflex.c
diff options
context:
space:
mode:
authorTomek Mrugalski <tomek@isc.org>2011-05-11 14:01:25 +0000
committerTomek Mrugalski <tomek@isc.org>2011-05-11 14:01:25 +0000
commita34feb7d81efdd9a140084d070ce4633572467fb (patch)
tree791736265825e3b9a7927341a7640d3dd51015e8 /common/conflex.c
parentfb30f3fc8bb324c6be1a418c341d062d7e1603df (diff)
downloadisc-dhcp-a34feb7d81efdd9a140084d070ce4633572467fb.tar.gz
- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
[ISC-Bugs #13151]
Diffstat (limited to 'common/conflex.c')
-rw-r--r--common/conflex.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/common/conflex.c b/common/conflex.c
index f9d98597..41bf4774 100644
--- a/common/conflex.c
+++ b/common/conflex.c
@@ -3,7 +3,7 @@
Lexical scanner for dhcpd config file... */
/*
- * Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004-2011 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1995-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
@@ -35,14 +35,14 @@
#include "dhcpd.h"
#include <ctype.h>
-static int get_char PROTO ((struct parse *));
+static int get_char (struct parse *);
static void unget_char(struct parse *, int);
-static void skip_to_eol PROTO ((struct parse *));
+static void skip_to_eol (struct parse *);
static enum dhcp_token read_whitespace(int c, struct parse *cfile);
-static enum dhcp_token read_string PROTO ((struct parse *));
-static enum dhcp_token read_number PROTO ((int, struct parse *));
-static enum dhcp_token read_num_or_name PROTO ((int, struct parse *));
-static enum dhcp_token intern PROTO ((char *, enum dhcp_token));
+static enum dhcp_token read_string (struct parse *);
+static enum dhcp_token read_number (int, struct parse *);
+static enum dhcp_token read_num_or_name (int, struct parse *);
+static enum dhcp_token intern (char *, enum dhcp_token);
isc_result_t new_parse (cfile, file, inbuf, buflen, name, eolp)
struct parse **cfile;