From: Rasmus Lerdorf Date: Sat, 18 Feb 2006 05:41:59 +0000 (+0000) Subject: Rename getloadavg to sys_getloadavg X-Git-Tag: php-5.1.3RC1~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bab48a0906d2b57c5425cacbb35e74ec26369422;p=php Rename getloadavg to sys_getloadavg --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index e3abf68155..0c5e614df5 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -426,7 +426,7 @@ zend_function_entry basic_functions[] = { PHP_FE(getopt, NULL) #endif #ifdef HAVE_GETLOADAVG - PHP_FE(getloadavg, NULL) + PHP_FE(sys_getloadavg, NULL) #endif #ifdef HAVE_GETTIMEOFDAY PHP_FE(microtime, NULL) @@ -3347,7 +3347,7 @@ PHP_FUNCTION(import_request_variables) /* }}} */ #ifdef HAVE_GETLOADAVG -PHP_FUNCTION(getloadavg) +PHP_FUNCTION(sys_getloadavg) { double load[3]; diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h index 63bcea432d..6d3d60f77c 100644 --- a/ext/standard/basic_functions.h +++ b/ext/standard/basic_functions.h @@ -117,7 +117,7 @@ PHP_NAMED_FUNCTION(php_if_crc32); PHP_FUNCTION(register_tick_function); PHP_FUNCTION(unregister_tick_function); #ifdef HAVE_GETLOADAVG -PHP_FUNCTION(getloadavg); +PHP_FUNCTION(sys_getloadavg); #endif PHP_FUNCTION(is_uploaded_file);