sas Mon Mar 31 00:39:25 2003 EDT Modified files: /php4/ext/standard lcg.c Log: TS issue, noticed by Sebastian Bergmann Index: php4/ext/standard/lcg.c diff -u php4/ext/standard/lcg.c:1.35 php4/ext/standard/lcg.c:1.36 --- php4/ext/standard/lcg.c:1.35 Sun Mar 30 22:24:18 2003 +++ php4/ext/standard/lcg.c Mon Mar 31 00:39:25 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: lcg.c,v 1.35 2003/03/31 03:24:18 sas Exp $ */ +/* $Id: lcg.c,v 1.36 2003/03/31 05:39:25 sas Exp $ */ #include "php.h" #include "php_lcg.h" @@ -56,6 +56,8 @@ */ #define MODMULT(a, b, c, m, s) q = s/a;s=b*(s-a*q)-c*q;if(s<0)s+=m + +static void lcg_seed(TSRMLS_D); PHPAPI double php_combined_lcg(TSRMLS_D) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php