Rename SDL_strtokr() to SDL_strtok_r()

Fixes https://github.com/libsdl-org/SDL/issues/7914
This commit is contained in:
Sam Lantinga
2023-07-03 06:19:30 -07:00
parent b8d6023a91
commit f010411492
12 changed files with 29 additions and 15 deletions

View File

@@ -21,7 +21,7 @@
#include "SDL_internal.h"
char *SDL_strtokr(char *s1, const char *s2, char **ptr)
char *SDL_strtok_r(char *s1, const char *s2, char **ptr)
{
#ifdef HAVE_STRTOK_R
return strtok_r(s1, s2, ptr);