void.c:222:1: warning: missing initializer for field ‘default_options’ of ‘InputDriverRec {aka struct _InputDriverRec}’ [-Wmissing-field-initializers]
};
^
In file included from void.c:39:0:
/usr/include/xorg/xf86Xinput.h:83:18: note: ‘default_options’ declared here
const char **default_options;
^~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Will be empty on most platforms, set to the -z parent=Xorg flag on
Solaris if building with the support for enforcing no undefined symbols.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
AC_PROG_CC is provided by XORG_DEFAULT_OPTIONS now
PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS variables
AC_HEADERS_STDC result was never used
No headers exist in $(top_srcdir)/src, so no point including -I in CFLAGS
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Not that it matters for this driver, but the axes are set up as absolute, so
label them accordingly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Wasn't used in the server and is now removed.
Fixes compiler error:
"void.c", line 340: too many struct/union initializers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
This driver should be seen as the simplest possible input
driver, and somewhat as a skeleton/model for newer ones.
Having it at least compiling with current xorg sdk is a plus.
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
void.c:41:9: warning: preprocessor token NEED_XF86_TYPES redefined
/usr/X11R7/include/xorg/xorg-server.h:69:9: this was the original definition
void.c:298:35: warning: Using plain integer as NULL pointer