cvs: php4 /ext/standard php_rand.h rand.c

From: Date: Mon, 03 Sep 2001 17:38:11 +0000
Subject: cvs: php4 /ext/standard php_rand.h rand.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7181@lists.php.net to get a copy of this message
derick Mon Sep 3 13:38:11 2001 EDT Modified files: /php4/ext/standard php_rand.h rand.c Log: - Fix broken build #- Please test before commit! Index: php4/ext/standard/php_rand.h diff -u php4/ext/standard/php_rand.h:1.11 php4/ext/standard/php_rand.h:1.12 --- php4/ext/standard/php_rand.h:1.11 Mon Sep 3 08:01:50 2001 +++ php4/ext/standard/php_rand.h Mon Sep 3 13:38:10 2001 @@ -20,7 +20,7 @@ | Based on code from: Shawn Cokus <Cokus@math.washington.edu> | +----------------------------------------------------------------------+ */ -/* $Id: php_rand.h,v 1.11 2001/09/03 12:01:50 jeroen Exp $ */ +/* $Id: php_rand.h,v 1.12 2001/09/03 17:38:10 derick Exp $ */ /* Layout implementation random functions * @@ -100,7 +100,7 @@ PHP_FUNCTION(mt_getrandmax); PHPAPI long php_rand(void); -PHPAPI long php_rand_range(long min, long max TSRMLS_D); +PHPAPI long php_rand_range(long min, long max TSRMLS_DC); PHPAPI double php_drand(void); PHPAPI long php_randmax(void); Index: php4/ext/standard/rand.c diff -u php4/ext/standard/rand.c:1.35 php4/ext/standard/rand.c:1.36 --- php4/ext/standard/rand.c:1.35 Mon Sep 3 07:57:15 2001 +++ php4/ext/standard/rand.c Mon Sep 3 13:38:10 2001 @@ -18,7 +18,7 @@ | Jeroen van Wolffelaar <jeroen@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: rand.c,v 1.35 2001/09/03 11:57:15 jeroen Exp $ */ +/* $Id: rand.c,v 1.36 2001/09/03 17:38:10 derick Exp $ */ #include <stdlib.h> @@ -230,7 +230,7 @@ /* }}} */ /* {{{ PHPAPI long php_rand_range(long min, long max) */ -PHPAPI long php_rand_range(long min, long max TSRMLS_D) +PHPAPI long php_rand_range(long min, long max TSRMLS_DC) { register long result;

« previous php.cvs (#7181) next »