test/torturethread.c
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1618 3b08574f4c60
child 1662 782fd950bd46
child 1895 c121d94672cb
     1.1 --- a/test/torturethread.c	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/test/torturethread.c	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -20,14 +20,14 @@
     1.4  	exit(rc);
     1.5  }
     1.6  
     1.7 -int SubThreadFunc(void *data) {
     1.8 +int SDLCALL SubThreadFunc(void *data) {
     1.9  	while(! *(int volatile *)data) {
    1.10  		; /*SDL_Delay(10);*/  /* do nothing */
    1.11  	}
    1.12  	return 0;
    1.13  }
    1.14  
    1.15 -int ThreadFunc(void *data) {
    1.16 +int SDLCALL ThreadFunc(void *data) {
    1.17  	SDL_Thread *sub_threads[NUMTHREADS];
    1.18  	int flags[NUMTHREADS];
    1.19  	int i;