cvs: php-src /ext/standard rand.c
| From: | Ilia Alshanetsky | Date: | Tue, 06 Jan 2004 15:45:53 +0000 |
| Subject: | cvs: php-src /ext/standard rand.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25538@lists.php.net to get a copy of this message | ||
iliaa Tue Jan 6 10:45:53 2004 EDT
Modified files:
/php-src/ext/standard rand.c
Log:
Revert proto 'fix'.
Index: php-src/ext/standard/rand.c
diff -u php-src/ext/standard/rand.c:1.65 php-src/ext/standard/rand.c:1.66
--- php-src/ext/standard/rand.c:1.65 Mon Jan 5 22:55:57 2004
+++ php-src/ext/standard/rand.c Tue Jan 6 10:45:52 2004
@@ -20,7 +20,7 @@
| Based on code from: Shawn Cokus <Cokus@math.washington.edu> |
+----------------------------------------------------------------------+
*/
-/* $Id: rand.c,v 1.65 2004/01/06 03:55:57 iliaa Exp $ */
+/* $Id: rand.c,v 1.66 2004/01/06 15:45:52 iliaa Exp $ */
#include <stdlib.h>
@@ -311,7 +311,7 @@
* -RL
*/
-/* {{{ proto int rand(int min, int max)
+/* {{{ proto int rand([int min, int max])
Returns a random number */
PHP_FUNCTION(rand)
{
@@ -336,7 +336,7 @@
}
/* }}} */
-/* {{{ proto int mt_rand(int min, int max)
+/* {{{ proto int mt_rand([int min, int max])
Returns a random number from Mersenne Twister */
PHP_FUNCTION(mt_rand)
{