From 676a62ec1e83d76b72d6b3b506b985ddb1c65832 Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 16 Mar 2016 19:45:37 +0100 Subject: warning: no previous prototype for '...' [-Wmissing-prototypes] --- tests/bison_nr_parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bison_nr_parser.y') diff --git a/tests/bison_nr_parser.y b/tests/bison_nr_parser.y index cbb4f2c..6b55b87 100644 --- a/tests/bison_nr_parser.y +++ b/tests/bison_nr_parser.y @@ -42,7 +42,7 @@ 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; -- cgit v1.2.3