Andrew Talbot : dinput: Constify some variables.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 13 11:07:47 CST 2007
Module: wine
Branch: master
Commit: e744c3a5b11754be727420f21a26100c85b3f9e9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e744c3a5b11754be727420f21a26100c85b3f9e9
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Mon Feb 12 20:58:08 2007 +0000
dinput: Constify some variables.
---
dlls/dinput/joystick_linux.c | 2 +-
dlls/dinput/keyboard.c | 2 +-
dlls/dinput/mouse.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c
index 26a62b5..822cb94 100644
--- a/dlls/dinput/joystick_linux.c
+++ b/dlls/dinput/joystick_linux.c
@@ -113,7 +113,7 @@ struct JoystickImpl
POV povs[4];
};
-static GUID DInput_Wine_Joystick_GUID = { /* 9e573ed9-7734-11d2-8d4a-23903fb6bdf7 */
+static const GUID DInput_Wine_Joystick_GUID = { /* 9e573ed9-7734-11d2-8d4a-23903fb6bdf7 */
0x9e573ed9,
0x7734,
0x11d2,
diff --git a/dlls/dinput/keyboard.c b/dlls/dinput/keyboard.c
index ac08c19..ca98738 100644
--- a/dlls/dinput/keyboard.c
+++ b/dlls/dinput/keyboard.c
@@ -93,7 +93,7 @@ static LRESULT CALLBACK KeyboardCallback
return CallNextHookEx(0, code, wparam, lparam);
}
-static GUID DInput_Wine_Keyboard_GUID = { /* 0ab8648a-7735-11d2-8c73-71df54a96441 */
+static const GUID DInput_Wine_Keyboard_GUID = { /* 0ab8648a-7735-11d2-8c73-71df54a96441 */
0x0ab8648a,
0x7735,
0x11d2,
diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c
index 4cfffb8..21f3776 100644
--- a/dlls/dinput/mouse.c
+++ b/dlls/dinput/mouse.c
@@ -73,7 +73,7 @@ struct SysMouseImpl
/* FIXME: This is ugly and not thread safe :/ */
static IDirectInputDevice8A* current_lock = NULL;
-static GUID DInput_Wine_Mouse_GUID = { /* 9e573ed8-7734-11d2-8d4a-23903fb6bdf7 */
+static const GUID DInput_Wine_Mouse_GUID = { /* 9e573ed8-7734-11d2-8d4a-23903fb6bdf7 */
0x9e573ed8,
0x7734,
0x11d2,
More information about the wine-cvs
mailing list