diff options
Diffstat (limited to 'src/laygram.y')
-rw-r--r-- | src/laygram.y | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/laygram.y b/src/laygram.y index b17dc17..1ac05a0 100644 --- a/src/laygram.y +++ b/src/laygram.y @@ -1,3 +1,5 @@ +%name-prefix "LayYY" +%defines %{ #include <X11/Xlib.h> #include <X11/Xresource.h> @@ -10,6 +12,9 @@ #include <X11/Xmu/Converters.h> #include "LayoutP.h" +#define yysetdest LayYYsetdest +#define yywrap LayYYwrap + static LayoutPtr *dest; %} @@ -251,13 +256,12 @@ orientation : VERTICAL ; %% -int yywrap () +int yywrap (void) { return 1; } -void yysetdest (c) - LayoutPtr *c; +void yysetdest (LayoutPtr *c) { dest = c; } |