Fixed warnings in -pedantic mode
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401443
This commit is contained in:
parent
df36fe080a
commit
00cfc17565
5 changed files with 15 additions and 29 deletions
|
@ -13,13 +13,6 @@
|
|||
static SDL_sem *sem;
|
||||
int alive = 1;
|
||||
|
||||
/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
|
||||
static void quit(int rc)
|
||||
{
|
||||
SDL_Quit();
|
||||
exit(rc);
|
||||
}
|
||||
|
||||
int ThreadFunc(void *data)
|
||||
{
|
||||
while ( alive ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue