diff test/torturethread.c @ 1659:14717b52abc0 SDL-1.3

Merge trunk-1.3-3
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 08:18:28 +0000
parents 3b08574f4c60
children 782fd950bd46 c121d94672cb
line wrap: on
line diff
--- a/test/torturethread.c	Mon May 01 06:58:33 2006 +0000
+++ b/test/torturethread.c	Wed May 17 08:18:28 2006 +0000
@@ -20,14 +20,14 @@
 	exit(rc);
 }
 
-int SubThreadFunc(void *data) {
+int SDLCALL SubThreadFunc(void *data) {
 	while(! *(int volatile *)data) {
 		; /*SDL_Delay(10);*/  /* do nothing */
 	}
 	return 0;
 }
 
-int ThreadFunc(void *data) {
+int SDLCALL ThreadFunc(void *data) {
 	SDL_Thread *sub_threads[NUMTHREADS];
 	int flags[NUMTHREADS];
 	int i;