andrei Fri Oct 6 18:00:13 2006 UTC
Modified files:
/php-src/ext/standard rand.c
Log:
Mark rand.c functions with U.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/rand.c?r1=1.71&r2=1.72&diff_format=u
Index: php-src/ext/standard/rand.c
diff -u php-src/ext/standard/rand.c:1.71 php-src/ext/standard/rand.c:1.72
--- php-src/ext/standard/rand.c:1.71 Sun Jan 1 13:09:55 2006
+++ php-src/ext/standard/rand.c Fri Oct 6 18:00:13 2006
@@ -20,7 +20,7 @@
| Based on code from: Shawn Cokus <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: rand.c,v 1.71 2006/01/01 13:09:55 sniper Exp $ */
+/* $Id: rand.c,v 1.72 2006/10/06 18:00:13 andrei Exp $ */
#include <stdlib.h>
@@ -252,7 +252,7 @@
}
/* }}} */
-/* {{{ proto void srand([int seed])
+/* {{{ proto void srand([int seed]) U
Seeds random number generator */
PHP_FUNCTION(srand)
{
@@ -268,7 +268,7 @@
}
/* }}} */
-/* {{{ proto void mt_srand([int seed])
+/* {{{ proto void mt_srand([int seed]) U
Seeds Mersenne Twister random number generator */
PHP_FUNCTION(mt_srand)
{
@@ -311,7 +311,7 @@
* -RL
*/
-/* {{{ proto int rand([int min, int max])
+/* {{{ proto int rand([int min, int max]) U
Returns a random number */
PHP_FUNCTION(rand)
{
@@ -332,7 +332,7 @@
}
/* }}} */
-/* {{{ proto int mt_rand([int min, int max])
+/* {{{ proto int mt_rand([int min, int max]) U
Returns a random number from Mersenne Twister */
PHP_FUNCTION(mt_rand)
{
@@ -365,7 +365,7 @@
}
/* }}} */
-/* {{{ proto int getrandmax(void)
+/* {{{ proto int getrandmax(void) U
Returns the maximum value a random number can have */
PHP_FUNCTION(getrandmax)
{
@@ -377,7 +377,7 @@
}
/* }}} */
-/* {{{ proto int mt_getrandmax(void)
+/* {{{ proto int mt_getrandmax(void) U
Returns the maximum value a random number from Mersenne Twister can have */
PHP_FUNCTION(mt_getrandmax)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php