summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:58:09 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:58:09 +0100
commit5e0ca52b4cc7136c11d0e9a8b97b12adb51061f8 (patch)
treedd06a9329be1c21ecac92c5547827291f2803393
parent80d17627cca464d98f201fb73932a2e41b44148e (diff)
Fix yyparse and yylex declarations
-rw-r--r--rfcomm/lexer.l2
-rw-r--r--rfcomm/parser.y1
2 files changed, 2 insertions, 1 deletions
diff --git a/rfcomm/lexer.l b/rfcomm/lexer.l
index 858e61d2..234f5215 100644
--- a/rfcomm/lexer.l
+++ b/rfcomm/lexer.l
@@ -36,6 +36,8 @@
#include "kword.h"
#include "parser.h"
+int yylex(void);
+
#define YY_NO_INPUT
#define ECHO {;}
diff --git a/rfcomm/parser.y b/rfcomm/parser.y
index 3afec076..c550e2f4 100644
--- a/rfcomm/parser.y
+++ b/rfcomm/parser.y
@@ -39,7 +39,6 @@
#include "kword.h"
-int yyparse(void);
int yylex(void);
int yyerror(char *s);