summaryrefslogtreecommitdiff
path: root/main/php_reentrancy.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-26 11:49:27 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-03-26 11:49:27 +0100
commite8e09b60b47fdce72fbb4a6875b3b4028a672ce6 (patch)
treec9768bbb18548d9ebf097532d625d6d81464bbad /main/php_reentrancy.h
parent97cb81ead5b47d9528c48936ed529cd7e8c8f3ef (diff)
downloadphp-git-e8e09b60b47fdce72fbb4a6875b3b4028a672ce6.tar.gz
Remove rand_r implementation
We already use our own mt13397 implementation nowadays, so we no longer need this shim.
Diffstat (limited to 'main/php_reentrancy.h')
-rw-r--r--main/php_reentrancy.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/main/php_reentrancy.h b/main/php_reentrancy.h
index c7a7c2f92e..62c1ca232f 100644
--- a/main/php_reentrancy.h
+++ b/main/php_reentrancy.h
@@ -99,12 +99,6 @@ char *strtok_r(char *s, const char *delim, char **last);
#endif
#endif
-#if !defined(HAVE_RAND_R)
-PHPAPI int php_rand_r(unsigned int *seed);
-#else
-#define php_rand_r rand_r
-#endif
-
END_EXTERN_C()
#if !defined(ZTS)