xserver: Branch 'master' - 3 commits
Keith Packard
keithp at kemper.freedesktop.org
Sun Nov 14 17:08:27 PST 2010
hw/xfree86/common/xf86Config.c | 2 +-
hw/xwin/winmouse.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 38c46ccf796462d068d95acb9022de2acfc3a1f7
Merge: 3051dd5... c8998af...
Author: Keith Packard <keithp at keithp.com>
Date: Mon Nov 15 09:06:33 2010 +0800
Merge remote branch 'whot/for-keith'
commit c8998af3eba49a542625912d512087e4eaaf5ede
Author: Cyril Brulebois <kibi at debian.org>
Date: Sat Nov 13 02:05:16 2010 +0100
xfree86: Initialize Pointer and Keyboard.
That helps us get rid of:
| CC xf86Config.lo
| xf86Config.c: In function âT.174â:
| xf86Config.c:1228: warning: âPointer$moduleâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$moduleâ was declared here
| xf86Config.c:1228: warning: âPointer$drvâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$drvâ was declared here
| xf86Config.c:1228: warning: âPointer$type_nameâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$type_nameâ was declared here
| xf86Config.c:1228: warning: âPointer$privateâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$privateâ was declared here
| xf86Config.c:1228: warning: âPointer$devâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$devâ was declared here
| xf86Config.c:1228: warning: âPointer$fdâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$fdâ was declared here
| xf86Config.c:1228: warning: âPointer$set_device_valuatorsâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$set_device_valuatorsâ was declared here
| xf86Config.c:1228: warning: âPointer$switch_modeâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$switch_modeâ was declared here
| xf86Config.c:1228: warning: âPointer$control_procâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$control_procâ was declared here
| xf86Config.c:1228: warning: âPointer$read_inputâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$read_inputâ was declared here
| xf86Config.c:1228: warning: âPointer$device_controlâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$device_controlâ was declared here
| xf86Config.c:1228: warning: âPointer$flagsâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$flagsâ was declared here
| xf86Config.c:1228: warning: âPointer$nextâ may be used uninitialized in this function
| xf86Config.c:1097: note: âPointer$nextâ was declared here
Signed-off-by: Cyril Brulebois <kibi at debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
index a9e827e..5800700 100644
--- a/hw/xfree86/common/xf86Config.c
+++ b/hw/xfree86/common/xf86Config.c
@@ -1094,7 +1094,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout)
const char *pointerMsg = NULL, *keyboardMsg = NULL;
InputInfoPtr *devs, /* iterator */
indp;
- InputInfoRec Pointer, Keyboard;
+ InputInfoRec Pointer = {}, Keyboard = {};
XF86ConfInputPtr confInput;
XF86ConfInputRec defPtr, defKbd;
int count = 0;
commit 98abac809a024ac3ed9dd0514ca96367f668c05d
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Thu Nov 11 23:06:13 2010 +0000
Fix compilation after input API change
Fix compilation after commit 675f4a8525d29ebad783351e17be785b2f32b2e8
converts winmouse.c to the new ValuatorMask input API, but doesn't
include the required header inpututil.h
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
diff --git a/hw/xwin/winmouse.c b/hw/xwin/winmouse.c
index da1d5a9..ee93d8f 100644
--- a/hw/xwin/winmouse.c
+++ b/hw/xwin/winmouse.c
@@ -39,6 +39,7 @@
#include "inputstr.h"
#include "exevents.h" /* for button/axes labels */
#include "xserver-properties.h"
+#include "inpututils.h"
/* Peek the internal button mapping */
static CARD8 const *g_winMouseButtonMap = NULL;
More information about the xorg-commit
mailing list