diff options
Diffstat (limited to 'tests/bison_yylloc_parser.y')
-rw-r--r-- | tests/bison_yylloc_parser.y | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/bison_yylloc_parser.y b/tests/bison_yylloc_parser.y index 8737291..93c63c0 100644 --- a/tests/bison_yylloc_parser.y +++ b/tests/bison_yylloc_parser.y @@ -40,11 +40,9 @@ int yyerror(YYLTYPE *location, void* scanner, const char* msg); #define YYERROR_VERBOSE 1 -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; |