mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Do not add dl function, if libdl is not present.
PR: #3947 Declare user_shutdown_function_name() as static to kill warning.
This commit is contained in:
parent
e9d126a7d3
commit
6c8f9bf3b4
1 changed files with 3 additions and 1 deletions
|
@ -322,8 +322,10 @@ function_entry basic_functions[] = {
|
||||||
PHP_FALIAS(join, implode, NULL)
|
PHP_FALIAS(join, implode, NULL)
|
||||||
PHP_FE(sql_regcase, NULL)
|
PHP_FE(sql_regcase, NULL)
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBDL
|
||||||
/* functions from dl.c */
|
/* functions from dl.c */
|
||||||
PHP_FE(dl, NULL)
|
PHP_FE(dl, NULL)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* functions from file.c */
|
/* functions from file.c */
|
||||||
PHP_FE(pclose, NULL)
|
PHP_FE(pclose, NULL)
|
||||||
|
@ -1417,7 +1419,7 @@ void user_shutdown_function_dtor(php_shutdown_function_entry *shutdown_function_
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry)
|
static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry)
|
||||||
{
|
{
|
||||||
zval retval;
|
zval retval;
|
||||||
CLS_FETCH();
|
CLS_FETCH();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue