Skip to content

Commit

Permalink
include/windows/osd.h: remove duplicate strtok_r definition
Browse files Browse the repository at this point in the history
The duplicate definition was causing hangs due to a loop

Signed-off-by: Alexia Ingerson <alexia.ingerson@intel.com>
  • Loading branch information
aingerson committed Dec 2, 2024
1 parent d2f7028 commit f6d38a3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/windows/osd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6d38a3

Please sign in to comment.