summaryrefslogtreecommitdiff
path: root/ext/standard/php_rand.h
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-03 11:57:15 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-03 11:57:15 +0000
commitefb83df9f9fed6be71f8e849ed702df0fd842fbd (patch)
tree45014df0fd2e3234dba8198c7b07680a5ce2c66e /ext/standard/php_rand.h
parent79c27f0cd27ebeea7e0cff4b1ad43671ec5a5210 (diff)
downloadphp-git-efb83df9f9fed6be71f8e849ed702df0fd842fbd.tar.gz
Kill some warnings/errors (reported by Sebastian, more to come, but
could take some time. Update of ZTS-builderrors is welcome)
Diffstat (limited to 'ext/standard/php_rand.h')
-rw-r--r--ext/standard/php_rand.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/standard/php_rand.h b/ext/standard/php_rand.h
index 19686a8066..21c6f63ec0 100644
--- a/ext/standard/php_rand.h
+++ b/ext/standard/php_rand.h
@@ -106,6 +106,11 @@ extern php_randgen_entry *php_randgen_entries[];
#define PHP_RAND_NUMRANDS 4
/* Proto's */
+PHP_RINIT_FUNCTION(rand);
+PHP_MINIT_FUNCTION(rand);
+PHP_MINIT_FUNCTION(rand_mt);
+PHP_MINIT_FUNCTION(rand_sys);
+
PHP_FUNCTION(srand);
PHP_FUNCTION(rand);
PHP_FUNCTION(getrandmax);
@@ -114,7 +119,7 @@ PHP_FUNCTION(mt_rand);
PHP_FUNCTION(mt_getrandmax);
PHPAPI long php_rand(void);
-PHPAPI long php_rand_range(long min, long max);
+PHPAPI long php_rand_range(long min, long max TSRMLS_D);
PHPAPI double php_drand(void);
PHPAPI long php_randmax(void);