diff options
author | Michael McConville <mmcco@mykolab.com> | 2015-12-13 01:20:11 -0500 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2015-12-14 07:20:53 -0500 |
commit | 559d79d0f57f32a9aa2d14910dace91372471d94 (patch) | |
tree | 86156a3687feb1eb747d95153f79808dcd077a61 | |
parent | 56f558ffefa1e97191ac373e8d0c89019b8d8340 (diff) |
Removed more instances of PROTO, ansifying.
-rw-r--r-- | src/dfa.c | 8 | ||||
-rw-r--r-- | src/gen.c | 8 | ||||
-rw-r--r-- | src/nfa.c | 4 | ||||
-rw-r--r-- | to.do/unicode/main.c | 8 | ||||
-rw-r--r-- | to.do/unicode/tblcmp.c | 10 |
5 files changed, 19 insertions, 19 deletions
@@ -34,10 +34,10 @@ /* declare functions that have forward references */ -void dump_associated_rules PROTO ((FILE *, int)); -void dump_transitions PROTO ((FILE *, int[])); -void sympartition PROTO ((int[], int, int[], int[])); -int symfollowset PROTO ((int[], int, int, int[])); +void dump_associated_rules(FILE *, int); +void dump_transitions(FILE *, int[]); +void sympartition(int[], int, int[], int[]); +int symfollowset(int[], int, int, int[]); /* check_for_backing_up - check a DFA state for backing up @@ -37,10 +37,10 @@ /* declare functions that have forward references */ -void gen_next_state PROTO ((int)); -void genecs PROTO ((void)); -void indent_put2s PROTO ((const char *, const char *)); -void indent_puts PROTO ((const char *)); +void gen_next_state(int); +void genecs(void); +void indent_put2s(const char *, const char *); +void indent_puts(const char *); static int indent_level = 0; /* each level is 8 spaces */ @@ -36,8 +36,8 @@ /* declare functions that have forward references */ -int dupmachine PROTO ((int)); -void mkxtion PROTO ((int, int)); +int dupmachine(int); +void mkxtion(int, int); /* add_accept - add an accepting state to a machine diff --git a/to.do/unicode/main.c b/to.do/unicode/main.c index ca38e10..f55b9ef 100644 --- a/to.do/unicode/main.c +++ b/to.do/unicode/main.c @@ -43,12 +43,12 @@ static char flex_version[] = FLEX_VERSION; /* declare functions that have forward references */ -void flexinit PROTO((int, char**)); -void readin PROTO((void)); -void set_up_initial_allocations PROTO((void)); +void flexinit(int, char **); +void readin(void); +void set_up_initial_allocations(void); #ifdef NEED_ARGV_FIXUP -extern void argv_fixup PROTO((int *, char ***)); +extern void argv_fixup(int *, char ***); #endif diff --git a/to.do/unicode/tblcmp.c b/to.do/unicode/tblcmp.c index f2d4366..2b4ce02 100644 --- a/to.do/unicode/tblcmp.c +++ b/to.do/unicode/tblcmp.c @@ -33,11 +33,11 @@ /* declarations for functions that have forward references */ -void mkentry PROTO((register int*, int, int, int, int)); -void mkprot PROTO((int[], int, int)); -void mktemplate PROTO((int[], int, int)); -void mv2front PROTO((int)); -int tbldiff PROTO((int[], int, int[])); +void mkentry(int *, int, int, int, int); +void mkprot(int[], int, int); +void mktemplate(int[], int, int); +void mv2front(int); +int tbldiff(int[], int, int[]); /* bldtbl - build table entries for dfa state |