cvs: /php4/ext/standard basic_functions.c
| From: | Sascha Schumann | Date: | Wed, 29 Mar 2000 17:34:14 +0000 |
| Subject: | cvs: /php4/ext/standard basic_functions.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12812@lists.php.net to get a copy of this message | ||
sas Wed Mar 29 09:34:14 2000 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
Do not add dl function, if libdl is not present.
PR: #3947
Declare user_shutdown_function_name() as static to kill warning.
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.178 php4/ext/standard/basic_functions.c:1.179
--- php4/ext/standard/basic_functions.c:1.178 Tue Mar 28 17:39:04 2000
+++ php4/ext/standard/basic_functions.c Wed Mar 29 09:33:44 2000
@@ -322,8 +322,10 @@
PHP_FALIAS(join, implode, NULL)
PHP_FE(sql_regcase, NULL)
+#ifdef HAVE_LIBDL
/* functions from dl.c */
PHP_FE(dl, NULL)
+#endif
/* functions from file.c */
PHP_FE(pclose, NULL)
@@ -1417,7 +1419,7 @@
}
-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;
CLS_FETCH();