From 13a23199195bb29d7f9e64baaa35c1718a92c556 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 26 Feb 2013 17:58:38 +0100 Subject: 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 Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- git-compat-util.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'git-compat-util.h') 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); -- cgit v1.2.1