diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-11-01 22:56:06 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-11-01 22:56:06 +0000 |
commit | b41d847d7292335ca5be8818a1ff0b6c2316c2d1 (patch) | |
tree | 7645efab7c6eb3a470e51ade1c88f62b00569eb9 /flash.h | |
parent | ff9e6c32c37e685f25e5ba09611e6e7d1a556bd8 (diff) | |
download | flashrom-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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[]; |