(svn r1805) Teach the driver layer a few things about const correctness

This commit is contained in:
tron
2005-02-05 18:05:42 +00:00
parent 7278f72157
commit 17ca2c49a5
9 changed files with 36 additions and 33 deletions

View File

@@ -606,7 +606,7 @@ static void FindResolutions(void)
}
static const char *Win32GdiStart(char **parm)
static const char *Win32GdiStart(const char * const *parm)
{
memset(&_wnd, 0, sizeof(_wnd));
_wnd.cursor_visible = true;
@@ -879,7 +879,7 @@ static DWORD WINAPI MidiThread(LPVOID arg)
return 0;
}
static char *Win32MidiStart(char **parm)
static const char *Win32MidiStart(const char * const *parm)
{
DWORD threadId;
memset(&_midi, 0, sizeof(_midi));
@@ -939,7 +939,7 @@ static void CALLBACK waveOutProc(HWAVEOUT hwo, UINT uMsg, DWORD dwInstance, DWOR
}
}
static char *Win32SoundStart(char **parm)
static const char *Win32SoundStart(const char * const *parm)
{
WAVEFORMATEX wfex;
int hz;