summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2013-02-26 16:58:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-26 17:16:58 (GMT)
commit13a23199195bb29d7f9e64baaa35c1718a92c556 (patch)
treecfea7431fa498b21cb1c9ac8195fb1808a68fa7f /git-compat-util.h
parent4dac0679feaebbf6545daec14480cf6b94cb74ed (diff)
downloadgit-13a23199195bb29d7f9e64baaa35c1718a92c556.zip
git-13a23199195bb29d7f9e64baaa35c1718a92c556.tar.gz
git-13a23199195bb29d7f9e64baaa35c1718a92c556.tar.bz2
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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index b7eaaa9..b636e0d 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);