summaryrefslogtreecommitdiff
path: root/flash.h
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2014-11-01 22:56:06 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2014-11-01 22:56:06 +0000
commitca7b823b13b700d3b92653c9c697084469426fc5 (patch)
tree7645efab7c6eb3a470e51ade1c88f62b00569eb9 /flash.h
parent4c94fea93d22fec409fe5f6ae88869ca6575f510 (diff)
downloadflashrom-ca7b823b13b700d3b92653c9c697084469426fc5.tar.gz
Move strtok_r implementation verbatim to helpers.c.
Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1853 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h3
1 files changed, 3 insertions, 0 deletions
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[];