Francois Gouget : dsound: Make id_to_offset() static.
Alexandre Julliard
julliard at winehq.org
Wed Dec 2 10:22:14 CST 2009
Module: wine
Branch: master
Commit: c5b346440fe89060f8f4436a6b9db8bd73c63fc7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5b346440fe89060f8f4436a6b9db8bd73c63fc7
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Dec 2 12:13:14 2009 +0100
dsound: Make id_to_offset() static.
---
dlls/dinput/device.c | 2 +-
dlls/dinput/device_private.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c
index cf91153..c0f15ff 100644
--- a/dlls/dinput/device.c
+++ b/dlls/dinput/device.c
@@ -510,7 +510,7 @@ int id_to_object(LPCDIDATAFORMAT df, int id)
return -1;
}
-int id_to_offset(const DataFormat *df, int id)
+static int id_to_offset(const DataFormat *df, int id)
{
int obj = id_to_object(df->wine_df, id);
diff --git a/dlls/dinput/device_private.h b/dlls/dinput/device_private.h
index d62e32e..43b28c9 100644
--- a/dlls/dinput/device_private.h
+++ b/dlls/dinput/device_private.h
@@ -81,7 +81,6 @@ extern void release_DataFormat(DataFormat *df) ;
extern void queue_event(LPDIRECTINPUTDEVICE8A iface, int inst_id, DWORD data, DWORD time, DWORD seq);
/* Helper functions to work with data format */
extern int id_to_object(LPCDIDATAFORMAT df, int id);
-extern int id_to_offset(const DataFormat *df, int id);
extern int find_property(const DataFormat *df, LPCDIPROPHEADER ph);
/* Common joystick stuff */
More information about the wine-cvs
mailing list