On 10/31/2011 12:41 AM, Peter Hutterer wrote: > ABI 14 made the InputOption type opaque, move the existing code to ifdefs > and use the new function calls otherwise. > > Signed-off-by: Peter Hutterer <[email protected]> > --- > src/jstk_key.c | 50 +++++++++++++++++++++++++++++++++++--------------- > 1 files changed, 35 insertions(+), 15 deletions(-) > > diff --git a/src/jstk_key.c b/src/jstk_key.c > index e842941..896bffc 100644 > --- a/src/jstk_key.c > +++ b/src/jstk_key.c > @@ -247,13 +247,43 @@ int jstkKeyboardPreInit(InputDriverPtr drv, > InputInfoPtr pInfo, int flags) > return Success; > } > > +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 14 > +static InputOption* > +input-option_new(InputOption* list, const char *key, const char *value)
This function has an erroneous '-' in the name. -- Chase _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
