InputDriverRec's default_options is char **, without const. Also, declare it static, it's not used outside this file.
Fix build failure with CFLAGS="-Wall -Werror": | CC acecad.lo | cc1: warnings being treated as errors | acecad.c:132: error: initialization from incompatible pointer type Signed-off-by: Cyril Brulebois <[email protected]> --- src/acecad.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) I know it's not really maintained, but oh well, two-minute fix… diff --git a/src/acecad.c b/src/acecad.c index 6259f21..c5e1611 100644 --- a/src/acecad.c +++ b/src/acecad.c @@ -106,7 +106,7 @@ /* max number of input events to read in one read call */ #define MAX_EVENTS 50 -static const char *default_options[] = +char *default_options[] = { "BaudRate", "9600", "StopBits", "1", -- 1.7.2.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
