summaryrefslogtreecommitdiff
path: root/tests/bison_nr_parser.y
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2018-02-08 11:16:54 -0800
committerManoj Srivastava <srivasta@debian.org>2018-02-08 11:16:54 -0800
commit5372d368306be0259401d04dcca0172c33cf43b0 (patch)
tree5f5545eebcc6924eba866c76e6241df16764cdb4 /tests/bison_nr_parser.y
parent487177cbb85bc4e88e468c71b27569054b8df090 (diff)
parentab49343b08c933e32de8de78132649f9560a3727 (diff)
Merge tag 'v2.6.4' into upstream
version 2.6.4 Signed-off-by: Manoj Srivastava <srivasta@debian.org>
Diffstat (limited to 'tests/bison_nr_parser.y')
-rw-r--r--tests/bison_nr_parser.y3
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;