diff options
| author | Rasmus Lerdorf <rasmus@php.net> | 2007-05-17 06:38:13 +0000 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@php.net> | 2007-05-17 06:38:13 +0000 |
| commit | 52c2d6c235d945134d86e6c0ad8a3030dbc9f144 (patch) | |
| tree | f8cb12dc409e0e900287ab3bf6696d2a8be38422 /ext/standard/lcg.c | |
| parent | 85f738261fa17df541cbcb1d9684bd7dbe1ce66d (diff) | |
| download | php-git-52c2d6c235d945134d86e6c0ad8a3030dbc9f144.tar.gz | |
Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows
Diffstat (limited to 'ext/standard/lcg.c')
| -rw-r--r-- | ext/standard/lcg.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c index 30fd8b0311..62531cf095 100644 --- a/ext/standard/lcg.c +++ b/ext/standard/lcg.c @@ -106,14 +106,6 @@ PHP_MINIT_FUNCTION(lcg) return SUCCESS; } -PHP_RINIT_FUNCTION(lcg) -{ - if (!LCG(seeded)) { - lcg_seed(TSRMLS_C); - } - return SUCCESS; -} - /* {{{ proto float lcg_value() Returns a value from the combined linear congruential generator */ PHP_FUNCTION(lcg_value) |
