mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 12:18:28 +00:00
Rename SDL_strtokr() to SDL_strtok_r()
Fixes https://github.com/libsdl-org/SDL/issues/7914
This commit is contained in:
parent
b8d6023a91
commit
f010411492
12 changed files with 29 additions and 15 deletions
|
@ -192,7 +192,7 @@ int SDL_EVDEV_Init(void)
|
|||
ROM. */
|
||||
char *rest = (char *)devices;
|
||||
char *spec;
|
||||
while ((spec = SDL_strtokr(rest, ",", &rest))) {
|
||||
while ((spec = SDL_strtok_r(rest, ",", &rest))) {
|
||||
char *endofcls = 0;
|
||||
long cls = SDL_strtol(spec, &endofcls, 0);
|
||||
if (endofcls) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue