stdinc: add strtok_r prototype for clang-tidy

This commit is contained in:
Anonymous Maarten
2025-10-15 03:17:25 +02:00
committed by Frank Praznik
parent dcb8a6521c
commit aa57984928

View File

@@ -6001,6 +6001,10 @@ size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t size);
size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t size);
#endif
#if !defined(HAVE_STRTOK_R) && !defined(strtok_r)
char *strtok_r(char *str, const char *delim, char **saveptr);
#endif
#ifndef _WIN32
/* strdup is not ANSI but POSIX, and its prototype might be hidden... */
/* not for windows: might conflict with string.h where strdup may have