diff test/testsem.c @ 1439:4d3bb026cd16

Fixed warnings in -pedantic mode
author Sam Lantinga <slouken@libsdl.org>
date Sun, 26 Feb 2006 05:02:14 +0000
parents be9c9c8f6d53
children 1dd8bf30a109
line wrap: on
line diff
--- a/test/testsem.c	Sun Feb 26 04:54:01 2006 +0000
+++ b/test/testsem.c	Sun Feb 26 05:02:14 2006 +0000
@@ -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 ) {