diff test/testsem.c @ 1769:290b5baf2fca

Fixed bug #215 The current SVN trunk is missing the SDLCALL specifier at numerous locations. It has to be added for all (possibly user provided) callbacks. I stumbled over this while creating a makefile for the OpenWatcom compiler for Win32.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 May 2006 03:40:06 +0000
parents d5298e8f22b3
children 782fd950bd46 c121d94672cb 99acf3d856cb
line wrap: on
line diff
--- a/test/testsem.c	Fri May 05 05:50:26 2006 +0000
+++ b/test/testsem.c	Sun May 07 03:40:06 2006 +0000
@@ -13,7 +13,7 @@
 static SDL_sem *sem;
 int alive = 1;
 
-int ThreadFunc(void *data)
+int SDLCALL ThreadFunc(void *data)
 {
 	int threadnum = (int)(uintptr_t)data;
 	while ( alive ) {