mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-23 04:59:10 +00:00
Fix warnings about static function and prototype
This commit is contained in:
parent
61309b4382
commit
16bb6a0b3d
30 changed files with 137 additions and 142 deletions
|
@ -43,14 +43,14 @@ quit(int rc)
|
|||
}
|
||||
|
||||
static int done = 0;
|
||||
void poked(int sig)
|
||||
static void poked(int sig)
|
||||
{
|
||||
done = 1;
|
||||
}
|
||||
|
||||
static SDL_AudioDeviceID g_audio_id = 0;
|
||||
|
||||
void loop()
|
||||
static void loop(void)
|
||||
{
|
||||
#ifdef __EMSCRIPTEN__
|
||||
if (done || (SDL_GetAudioDeviceStatus(g_audio_id) != SDL_AUDIO_PLAYING)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue