Revert "compat: add strtok_r()"
This reverts commit78457bc0cc
. commit28c5d9e
("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>
This commit is contained in:

committed by
Junio C Hamano

parent
4dac0679fe
commit
13a2319919
@ -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);
|
||||
|
Reference in New Issue
Block a user