summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-04 20:41:42 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-04 20:41:48 +0200
commit7c3078737fcdd7c4da0607b2856502089e60194b (patch)
treec4e37fd2cd962616072b7324d78c7c6a5c6255d2 /ext/dom/php_dom.c
parenta43bc33fb2575cda582167c0d6571e501a2e6496 (diff)
downloadphp-git-7c3078737fcdd7c4da0607b2856502089e60194b.tar.gz
Generate function entries from stubs for a couple of extensions
Closes GH-5347
Diffstat (limited to 'ext/dom/php_dom.c')
-rw-r--r--ext/dom/php_dom.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index dae52faeeb..ea6f1953ff 100644
--- a/ext/dom/php_dom.c
+++ b/ext/dom/php_dom.c
@@ -520,11 +520,6 @@ static void dom_dtor_prop_handler(zval *zv) /* {{{ */
free(Z_PTR_P(zv));
}
-static const zend_function_entry dom_functions[] = {
- PHP_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
- PHP_FE_END
-};
-
static const zend_module_dep dom_deps[] = {
ZEND_MOD_REQUIRED("libxml")
ZEND_MOD_CONFLICTS("domxml")
@@ -535,7 +530,7 @@ zend_module_entry dom_module_entry = { /* {{{ */
STANDARD_MODULE_HEADER_EX, NULL,
dom_deps,
"dom",
- dom_functions,
+ ext_functions,
PHP_MINIT(dom),
PHP_MSHUTDOWN(dom),
NULL,