summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/alloc_extra.l3
-rw-r--r--tests/bison_nr_main.c1
-rw-r--r--tests/bison_nr_parser.y1
-rw-r--r--tests/bison_yylloc_parser.y2
4 files changed, 0 insertions, 7 deletions
diff --git a/tests/alloc_extra.l b/tests/alloc_extra.l
index d50c135..ae2ae99 100644
--- a/tests/alloc_extra.l
+++ b/tests/alloc_extra.l
@@ -43,9 +43,6 @@ struct Check {
/* Save char into junk array at next position. */
static void check_extra ( yyscan_t scanner );
-/* Special yyalloc */
-void *yyalloc ( size_t size, yyscan_t scanner );
-
%}
%option 8bit prefix="test"
diff --git a/tests/bison_nr_main.c b/tests/bison_nr_main.c
index f5dd98a..dfd6749 100644
--- a/tests/bison_nr_main.c
+++ b/tests/bison_nr_main.c
@@ -24,7 +24,6 @@
#include "bison_nr_parser.h"
#include "bison_nr_scanner.h"
-extern int testparse(void);
int main ( int argc, char** argv )
{
diff --git a/tests/bison_nr_parser.y b/tests/bison_nr_parser.y
index 6b55b87..b981f7e 100644
--- a/tests/bison_nr_parser.y
+++ b/tests/bison_nr_parser.y
@@ -38,7 +38,6 @@
/* #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. */
diff --git a/tests/bison_yylloc_parser.y b/tests/bison_yylloc_parser.y
index 51c0557..93c63c0 100644
--- a/tests/bison_yylloc_parser.y
+++ b/tests/bison_yylloc_parser.y
@@ -40,8 +40,6 @@ 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. */
static int process_text(char* s) {