diff options
author | rlar <rlar> | 2016-03-16 19:45:37 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-03-18 14:35:39 -0400 |
commit | 676a62ec1e83d76b72d6b3b506b985ddb1c65832 (patch) | |
tree | 31950e28554f355ce698908cc36324588aeaf026 /tests/bison_yylval_parser.y | |
parent | d112fbaf53e158839ab73b0d6a23601493c5c603 (diff) |
warning: no previous prototype for '...' [-Wmissing-prototypes]
Diffstat (limited to 'tests/bison_yylval_parser.y')
-rw-r--r-- | tests/bison_yylval_parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bison_yylval_parser.y b/tests/bison_yylval_parser.y index 4159d7b..3fc9c58 100644 --- a/tests/bison_yylval_parser.y +++ b/tests/bison_yylval_parser.y @@ -40,7 +40,7 @@ int yyerror(void* scanner, const char* msg); /* 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; |