dsound: Make id_to_offset() static.
This commit is contained in:
parent
ff0717766c
commit
c5b346440f
|
@ -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);
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue