diff options
author | Rasmus Lerdorf <rasmus@php.net> | 1999-12-05 13:41:42 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 1999-12-05 13:41:42 +0000 |
commit | ca362445c486e878d3ae287683d14fd54c13ebd6 (patch) | |
tree | a4bd1d9ff533afeb9d547e9aa0cd4f2fd8c4ccdf /ext/standard/lcg.c | |
parent | ae1b7bf4b8f211726d21bbf489bee78c8a3c4e2e (diff) | |
download | php-git-ca362445c486e878d3ae287683d14fd54c13ebd6.tar.gz |
Fix a maintainer-mode warning
Diffstat (limited to 'ext/standard/lcg.c')
-rw-r--r-- | ext/standard/lcg.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c index 6e87f24df8..6e7ecd8ef2 100644 --- a/ext/standard/lcg.c +++ b/ext/standard/lcg.c @@ -59,7 +59,9 @@ double php_combined_lcg(void) return z * 4.656613e-10; } -static void init_globals(LCGLS_D) +static void lcg_init_globals(LCGLS_D); + +static void lcg_init_globals(LCGLS_D) { LCG(s1) = 1; #ifdef ZTS @@ -72,9 +74,9 @@ static void init_globals(LCGLS_D) static int php_minit_lcg(INIT_FUNC_ARGS) { #ifdef ZTS - lcg_globals_id = ts_allocate_id(sizeof(php_lcg_globals), init_globals, NULL); + lcg_globals_id = ts_allocate_id(sizeof(php_lcg_globals), lcg_init_globals, NULL); #else - init_globals(); + lcg_init_globals(); #endif return SUCCESS; } |