Rename SDL_strtokr() to SDL_strtok_r()

Fixes https://github.com/libsdl-org/SDL/issues/7914
This commit is contained in:
Sam Lantinga committed 2023-07-03 06:20:06 -07:00
1 parent b8d6023a91
commit f010411492
12 files changed
+29 -15

No files matched your search

+1 -1
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);