From 095766ebb3afafc4906cb29e22d996dbcd773ad8 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Mon, 2 Feb 2009 19:47:50 -0200 Subject: Janitor: make distcheck, .gitignore. Remove non toplevel .gitignore and .cvsignore files. The "make distcheck correction" for $(sdkdir) probably has a better approach using a "*-hook:" target, or possibly making $sdkdir a configure time option that could be set with DISTCHECK_CONFIGURE_FLAGS. --- src/evdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/evdev.c') diff --git a/src/evdev.c b/src/evdev.c index 1356411..e8c1e2c 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -120,7 +120,7 @@ static Atom prop_label = 0; /* All devices the evdev driver has allocated and knows about. * MAXDEVICES is safe as null-terminated array, as two devices (VCP and VCK) * cannot be used by evdev, leaving us with a space of 2 at the end. */ -static EvdevPtr evdev_devices[MAXDEVICES] = {0}; +static EvdevPtr evdev_devices[MAXDEVICES] = {NULL}; static int EvdevGetMajorMinor(InputInfoPtr pInfo) @@ -1495,7 +1495,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags) pInfo->reverse_conversion_proc = NULL; pInfo->dev = NULL; pInfo->private_flags = 0; - pInfo->always_core_feedback = 0; + pInfo->always_core_feedback = NULL; pInfo->conf_idev = dev; if (!(pEvdev = xcalloc(sizeof(EvdevRec), 1))) -- cgit v1.2.3