summaryrefslogtreecommitdiff
path: root/src/Layout.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-07 15:46:00 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-08 19:19:49 -0700
commitc6c61c93154635018c901ace6251018dfc3d9961 (patch)
tree346ce6e4c16fc4acca202477550809c4e3fbb3cc /src/Layout.c
parentfb67997614b32d34de535654876eb8896a9011ac (diff)
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 <alan.coopersmith@oracle.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Layout.c')
-rw-r--r--src/Layout.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Layout.c b/src/Layout.c
index c98bd39..62082a5 100644
--- a/src/Layout.c
+++ b/src/Layout.c
@@ -43,6 +43,8 @@
#include <ctype.h>
#include <stdio.h>
+#include "LayYY.h"
+
#undef DEBUG
#ifdef DEBUG
static char *DBUG_currentproc, *DBUG_lastproc;
@@ -101,10 +103,6 @@ static void LayoutLayout (LayoutWidget, Bool);
static void LayoutGetNaturalSize (LayoutWidget, Dimension *, Dimension *);
static void LayoutFreeLayout (BoxPtr);
-extern void LayYYsetsource(char *);
-extern void LayYYsetdest(LayoutPtr *);
-extern int LayYYparse(void);
-
#ifdef MOTIF
#define SuperClass ((ConstraintWidgetClass)&xmManagerClassRec)
#else