diff options
author | Erik Faye-Lund <kusmabite@gmail.com> | 2013-02-26 17:58:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-26 09:16:58 -0800 |
commit | 13a23199195bb29d7f9e64baaa35c1718a92c556 (patch) | |
tree | cfea7431fa498b21cb1c9ac8195fb1808a68fa7f /git-compat-util.h | |
parent | 4dac0679feaebbf6545daec14480cf6b94cb74ed (diff) | |
download | git-13a23199195bb29d7f9e64baaa35c1718a92c556.tar.gz |
Revert "compat: add strtok_r()"
This reverts commit 78457bc0ccc1af8b9eb776a0b17986ebd50442bc.
commit 28c5d9e ("vcs-svn: drop string_pool") previously removed
the only call-site for strtok_r. So let's get rid of the compat
implementation as well.
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index b7eaaa99a8..b636e0dd0c 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -421,11 +421,6 @@ extern uintmax_t gitstrtoumax(const char *, char **, int); extern intmax_t gitstrtoimax(const char *, char **, int); #endif -#ifdef NO_STRTOK_R -#define strtok_r gitstrtok_r -extern char *gitstrtok_r(char *s, const char *delim, char **save_ptr); -#endif - #ifdef NO_HSTRERROR #define hstrerror githstrerror extern const char *githstrerror(int herror); |