diff options
Diffstat (limited to 'tests/bison_nr_parser.y')
-rw-r--r-- | tests/bison_nr_parser.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/bison_nr_parser.y b/tests/bison_nr_parser.y index cbb4f2c..b981f7e 100644 --- a/tests/bison_nr_parser.y +++ b/tests/bison_nr_parser.y @@ -38,11 +38,10 @@ /* #define YYLEX_PARAM scanner */ int yyerror(const char* msg); -extern int testget_lineno(void); /* A dummy function. A check against seg-faults in yylval->str. */ -int process_text(char* s) { +static int process_text(char* s) { int total =0; while(*s) { total += (int) *s; |