diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-27 15:28:55 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-27 15:28:55 -0400 |
commit | 9e592d1decf1b16128a716220de68322b51d6315 (patch) | |
tree | 064af78114c528fe06441067d9648e1dc5191c42 /src/common/compat.h | |
parent | 4d81f5211b3c714edae6370bccc6873033c0092d (diff) | |
download | tor-9e592d1decf1b16128a716220de68322b51d6315.tar.gz tor-9e592d1decf1b16128a716220de68322b51d6315.zip |
Move tor_strtok_r to libtor-string
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 2282e07be3..766f625572 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -73,13 +73,6 @@ tor_memstr(const void *haystack, size_t hlen, const char *needle) return tor_memmem(haystack, hlen, needle, strlen(needle)); } -char *tor_strtok_r_impl(char *str, const char *sep, char **lasts); -#ifdef HAVE_STRTOK_R -#define tor_strtok_r(str, sep, lasts) strtok_r(str, sep, lasts) -#else -#define tor_strtok_r(str, sep, lasts) tor_strtok_r_impl(str, sep, lasts) -#endif - /* ===== Time compatibility */ struct tm *tor_localtime_r(const time_t *timep, struct tm *result); |