From c6c61c93154635018c901ace6251018dfc3d9961 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 7 Sep 2011 15:46:00 -0700 Subject: Add LayYY.h header for common definitions of lex/yacc created functions Ensures all sources use consistent types and provides central place to add _X_HIDDEN tags to avoid exporting these as part of the API/ABI. Also fixes: "laygram.c", line 1363: warning: implicit function declaration: LayYYlex "laygram.c", line 1777: warning: implicit function declaration: LayYYerror Signed-off-by: Alan Coopersmith Reviewed-by: Matt Turner --- src/laygram.y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/laygram.y') diff --git a/src/laygram.y b/src/laygram.y index 6c79b16..5ac2e0a 100644 --- a/src/laygram.y +++ b/src/laygram.y @@ -11,6 +11,8 @@ #include #include +#include "LayYY.h" + #define yysetdest LayYYsetdest #define yywrap LayYYwrap -- cgit v1.2.3