From ca7b823b13b700d3b92653c9c697084469426fc5 Mon Sep 17 00:00:00 2001 From: stefanct Date: Sat, 1 Nov 2014 22:56:06 +0000 Subject: Move strtok_r implementation verbatim to helpers.c. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1853 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- flash.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index ff4b06b..81fd61b 100644 --- a/flash.h +++ b/flash.h @@ -255,6 +255,9 @@ int max(int a, int b); int min(int a, int b); char *strcat_realloc(char *dest, const char *src); void tolower_string(char *str); +#ifdef __MINGW32__ +char* strtok_r(char *str, const char *delim, char **nextp); +#endif /* flashrom.c */ extern const char flashrom_version[]; -- cgit v1.2.1