diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-12 13:12:56 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-12 13:14:24 +0200 |
commit | 709897c2a574c8f946c12b90989a3ba464b535cf (patch) | |
tree | 6b63e391aaba389b122caeb13ae555a3dd8b6ed8 /ext/phar | |
parent | 94d37a5dd7bc493de0842f8f704706bf13b57918 (diff) | |
download | php-git-709897c2a574c8f946c12b90989a3ba464b535cf.tar.gz |
Remove unused tsrm_strtok_r() function
There is also a php_strtok_r() function, which is actually used,
but nothing uses the tsrm_strtok_r() variant...
Diffstat (limited to 'ext/phar')
-rw-r--r-- | ext/phar/phar_internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h index 8b2f585161..e999d9d757 100644 --- a/ext/phar/phar_internal.h +++ b/ext/phar/phar_internal.h @@ -49,9 +49,6 @@ #include "ext/standard/sha1.h" #include "ext/standard/php_var.h" #include "ext/standard/php_versioning.h" -#ifndef PHP_WIN32 -#include "TSRM/tsrm_strtok_r.h" -#endif #include "Zend/zend_virtual_cwd.h" #include "ext/spl/spl_array.h" #include "ext/spl/spl_directory.h" @@ -477,8 +474,6 @@ extern zend_string *(*phar_save_resolve_path)(const char *filename, size_t filen BEGIN_EXTERN_C() #ifdef PHP_WIN32 -char *tsrm_strtok_r(char *s, const char *delim, char **last); - static inline void phar_unixify_path_separators(char *path, size_t path_len) { char *s; |