From 6f245834b156763b8ad3f480cf0708cfde5df5c1 Mon Sep 17 00:00:00 2001 From: Alexia Ingerson Date: Mon, 2 Dec 2024 15:43:27 -0800 Subject: [PATCH] include/windows/osd.h: remove duplicate strtok_r definition The duplicate definition was causing hangs due to a loop Signed-off-by: Alexia Ingerson --- include/windows/osd.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/windows/osd.h b/include/windows/osd.h index d9698bd9724..efd3bf0d125 100644 --- a/include/windows/osd.h +++ b/include/windows/osd.h @@ -930,11 +930,6 @@ static inline char *strcasestr(const char *haystack, const char *needle) return pos; } -static inline char *strtok_r(char *str, const char *delimiters, char **saveptr) -{ - return strtok_s(str, delimiters, saveptr); -} - #ifndef _SC_PAGESIZE #define _SC_PAGESIZE 0 #endif