Mercurial > sdl-ios-xcode
diff src/main/macos/SDL_main.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 | 3692456e7b0f |
children | 7a610f25c12f |
line wrap: on
line diff
--- a/src/main/macos/SDL_main.c Tue Feb 07 07:03:29 2006 +0000 +++ b/src/main/macos/SDL_main.c Tue Feb 07 09:29:18 2006 +0000 @@ -589,7 +589,7 @@ /* Parse C-string into argv and argc */ nargs = ParseCommandLine (commandLine, NULL); - args = (char **)SDL_malloc((nargs+1)*(sizeof *args)); + args = (char **)malloc((nargs+1)*(sizeof *args)); if ( args == NULL ) { exit(-1); }