diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-07 15:46:00 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-08 19:19:49 -0700 |
commit | c6c61c93154635018c901ace6251018dfc3d9961 (patch) | |
tree | 346ce6e4c16fc4acca202477550809c4e3fbb3cc /src/LayYY.h | |
parent | fb67997614b32d34de535654876eb8896a9011ac (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/LayYY.h')
-rw-r--r-- | src/LayYY.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/LayYY.h b/src/LayYY.h new file mode 100644 index 0000000..7d0c1cd --- /dev/null +++ b/src/LayYY.h @@ -0,0 +1,10 @@ +#include <X11/Xfuncproto.h> + +/* Functions autogenerated from laygram.y into laygram.c */ +extern _X_HIDDEN void LayYYsetsource (char *); +extern _X_HIDDEN void LayYYsetdest (LayoutPtr *); +extern _X_HIDDEN int LayYYparse (void); + +/* Functions autogenerated from laylex.l into laylex.c */ +extern _X_HIDDEN int LayYYlex (void); +extern _X_HIDDEN void LayYYerror (char *s); |