xi: More warning cleanup for input

Lots more const char stuff.

Remove duplicate defs of CoreKeyboardProc and CorePointerProc from
test/xi2/protocol-common.c

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Keith Packard
2013-11-15 06:00:44 -08:00
parent af04cf6968
commit fecc7eb1cf
8 changed files with 26 additions and 28 deletions

View File

@@ -1169,8 +1169,8 @@ IResetProc(ExtensionEntry * unused)
EventSwapVector[DevicePropertyNotify] = NotImplemented;
RestoreExtensionEvents();
free(xi_all_devices.name);
free(xi_all_master_devices.name);
free((void *) xi_all_devices.name);
free((void *) xi_all_master_devices.name);
XIBarrierReset();
}