summaryrefslogtreecommitdiff
path: root/ext/standard/lcg.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2007-05-18 12:15:01 +0000
committerRasmus Lerdorf <rasmus@php.net>2007-05-18 12:15:01 +0000
commit5e84cb97a078b3f198ff0ad16dbd2f76371074c2 (patch)
tree4178475655bb86d603c9fe713fff0a7bcd8d43c5 /ext/standard/lcg.c
parenteb2240d4941ebe5948e5fd69c58c7c7a9a62d65d (diff)
downloadphp-git-5e84cb97a078b3f198ff0ad16dbd2f76371074c2.tar.gz
MFB syscall optimizations
# boredom on the plane to China...
Diffstat (limited to 'ext/standard/lcg.c')
-rw-r--r--ext/standard/lcg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c
index 3d34591ef6..1366b4e45f 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() U
Returns a value from the combined linear congruential generator */
PHP_FUNCTION(lcg_value)