aboutsummaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-11-01 22:56:06 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-11-01 22:56:06 +0000
commitb41d847d7292335ca5be8818a1ff0b6c2316c2d1 (patch)
tree7645efab7c6eb3a470e51ade1c88f62b00569eb9 /flash.h
parentff9e6c32c37e685f25e5ba09611e6e7d1a556bd8 (diff)
downloadflashrom-b41d847d7292335ca5be8818a1ff0b6c2316c2d1.tar.gz
flashrom-b41d847d7292335ca5be8818a1ff0b6c2316c2d1.tar.bz2
flashrom-b41d847d7292335ca5be8818a1ff0b6c2316c2d1.zip
Move strtok_r implementation verbatim to helpers.c
Corresponding to flashrom svn r1853. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
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 ff4b06ba..81fd61bf 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[];