make strtok_r private

Fixes #189

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2022-02-01 13:30:34 +01:00
parent 93e04b8d03
commit 728e050a05
4 changed files with 8 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ char *strophe_strndup(const xmpp_ctx_t *ctx, const char *s, size_t len)
* For example, visual studio older than 2005 doesn't provide strtok_r()
* nor strtok_s().
*/
char *xmpp_strtok_r(char *s, const char *delim, char **saveptr)
char *strophe_strtok_r(char *s, const char *delim, char **saveptr)
{
size_t len;