From 64f27743785e30855b486e4575429192fddaa9eb Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 16 Feb 2016 14:35:34 +0100 Subject: Converted K&R style function definitions to ANSI C style Consistently make use of the ANSI C function definition style instead of the K&R style. --- src/gen.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gen.c') diff --git a/src/gen.c b/src/gen.c index 546e340..b2e2b53 100644 --- a/src/gen.c +++ b/src/gen.c @@ -725,8 +725,7 @@ void genftbl (void) /* Generate the code to find the next compressed-table state. */ -void gen_next_compressed_state (char_map) - char *char_map; +void gen_next_compressed_state (char *char_map) { indent_put2s ("YY_CHAR yy_c = %s;", char_map); @@ -876,8 +875,7 @@ void gen_next_match (void) /* Generate the code to find the next state. */ -void gen_next_state (worry_about_NULs) - int worry_about_NULs; +void gen_next_state (int worry_about_NULs) { /* NOTE - changes in here should be reflected in gen_next_match() */ char char_map[256]; -- cgit v1.2.3