Mercurial > sdl-ios-xcode
comparison src/thread/amigaos/SDL_systhread.c @ 1338:604d73db6802
Removed uses of stdlib.h and string.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 09:29:18 +0000 |
parents | c9b51268668f |
children | c71e05b4dc2e |
comparison
equal
deleted
inserted
replaced
1337:c687f06c7473 | 1338:604d73db6802 |
---|---|
100 char buffer[20]; | 100 char buffer[20]; |
101 | 101 |
102 D(bug("Sending %lx to the new thread...\n",args)); | 102 D(bug("Sending %lx to the new thread...\n",args)); |
103 | 103 |
104 if(args) | 104 if(args) |
105 sprintf(buffer,"%ld",args); | 105 SDL_snprintf(buffer, SDL_arraysize(buffer),"%ld",args); |
106 | 106 |
107 #ifdef STORMC4_WOS | 107 #ifdef STORMC4_WOS |
108 thread->handle=CreateTaskPPCTags(TASKATTR_CODE, RunThread, | 108 thread->handle=CreateTaskPPCTags(TASKATTR_CODE, RunThread, |
109 TASKATTR_NAME, "SDL subtask", | 109 TASKATTR_NAME, "SDL subtask", |
110 TASKATTR_STACKSIZE, 100000, | 110 TASKATTR_STACKSIZE, 100000, |