summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_modules.h2
-rw-r--r--ext/dom/php_dom.c2
-rw-r--r--ext/exif/exif.c2
-rw-r--r--ext/imap/php_imap.c2
-rw-r--r--ext/mysql/php_mysql.c2
-rw-r--r--ext/mysqli/mysqli.c2
-rw-r--r--ext/mysqlnd/php_mysqlnd.c2
-rwxr-xr-xext/pdo/pdo.c2
-rw-r--r--ext/pdo_dblib/pdo_dblib.c2
-rw-r--r--ext/pdo_firebird/pdo_firebird.c2
-rwxr-xr-xext/pdo_mysql/pdo_mysql.c2
-rwxr-xr-xext/pdo_oci/pdo_oci.c2
-rwxr-xr-xext/pdo_odbc/pdo_odbc.c2
-rw-r--r--ext/pdo_pgsql/pdo_pgsql.c2
-rw-r--r--ext/pdo_sqlite/pdo_sqlite.c2
-rw-r--r--ext/phar/phar.c2
-rw-r--r--ext/session/session.c2
-rw-r--r--ext/simplexml/simplexml.c2
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/xml/xml.c2
-rw-r--r--ext/xmlreader/php_xmlreader.c2
-rw-r--r--ext/xsl/php_xsl.c2
22 files changed, 23 insertions, 21 deletions
diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h
index bdbfffac3b..812f656172 100644
--- a/Zend/zend_modules.h
+++ b/Zend/zend_modules.h
@@ -113,6 +113,8 @@ struct _zend_module_entry {
#define ZEND_MOD_CONFLICTS(name) ZEND_MOD_CONFLICTS_EX(name, NULL, NULL)
#define ZEND_MOD_OPTIONAL(name) ZEND_MOD_OPTIONAL_EX(name, NULL, NULL)
+#define ZEND_MOD_END { NULL, NULL, NULL, 0 }
+
struct _zend_module_dep {
const char *name; /* module name */
const char *rel; /* version relationship: NULL (exists), lt|le|eq|ge|gt (to given version) */
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index ad834d8812..cf9b79ba79 100644
--- a/ext/dom/php_dom.c
+++ b/ext/dom/php_dom.c
@@ -553,7 +553,7 @@ static zend_object_handlers* dom_get_obj_handlers(TSRMLS_D) {
static const zend_module_dep dom_deps[] = {
ZEND_MOD_REQUIRED("libxml")
ZEND_MOD_CONFLICTS("domxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
zend_module_entry dom_module_entry = { /* {{{ */
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 1b41bd7260..bb805302cd 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -254,7 +254,7 @@ static const zend_module_dep exif_module_deps[] = {
#if EXIF_USE_MBSTRING
ZEND_MOD_REQUIRED("mbstring")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 8eb0290ea0..22f28b814e 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -558,7 +558,7 @@ const zend_function_entry imap_functions[] = {
/* {{{ imap dependencies */
static const zend_module_dep imap_deps[] = {
ZEND_MOD_REQUIRED("standard")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 75c28c399c..57de00f4e2 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -329,7 +329,7 @@ static const zend_module_dep mysql_deps[] = {
#if defined(MYSQL_USE_MYSQLND)
ZEND_MOD_REQUIRED("mysqlnd")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ mysql_module_entry
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index d6ec47deee..b2f6ab79d6 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -939,7 +939,7 @@ static const zend_module_dep mysqli_deps[] = {
#if defined(MYSQLI_USE_MYSQLND)
ZEND_MOD_REQUIRED("mysqlnd")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ mysqli_module_entry
diff --git a/ext/mysqlnd/php_mysqlnd.c b/ext/mysqlnd/php_mysqlnd.c
index 1c0c949fc6..bba8d026d9 100644
--- a/ext/mysqlnd/php_mysqlnd.c
+++ b/ext/mysqlnd/php_mysqlnd.c
@@ -266,7 +266,7 @@ static PHP_RSHUTDOWN_FUNCTION(mysqlnd)
static const zend_module_dep mysqlnd_deps[] = {
ZEND_MOD_REQUIRED("standard")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ mysqlnd_module_entry
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c
index 1604d51858..169ce32e25 100755
--- a/ext/pdo/pdo.c
+++ b/ext/pdo/pdo.c
@@ -135,7 +135,7 @@ static const zend_module_dep pdo_deps[] = {
#ifdef HAVE_SPL
ZEND_MOD_REQUIRED("spl")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
diff --git a/ext/pdo_dblib/pdo_dblib.c b/ext/pdo_dblib/pdo_dblib.c
index 278c1985a1..17bc8f86aa 100644
--- a/ext/pdo_dblib/pdo_dblib.c
+++ b/ext/pdo_dblib/pdo_dblib.c
@@ -42,7 +42,7 @@ const zend_function_entry pdo_dblib_functions[] = {
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_dblib_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c
index 6459c70364..4f04f939fc 100644
--- a/ext/pdo_firebird/pdo_firebird.c
+++ b/ext/pdo_firebird/pdo_firebird.c
@@ -40,7 +40,7 @@ const zend_function_entry pdo_firebird_functions[] = { /* {{{ */
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_firebird_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
diff --git a/ext/pdo_mysql/pdo_mysql.c b/ext/pdo_mysql/pdo_mysql.c
index 5fdab6ba94..97cce4a1de 100755
--- a/ext/pdo_mysql/pdo_mysql.c
+++ b/ext/pdo_mysql/pdo_mysql.c
@@ -181,7 +181,7 @@ static const zend_module_dep pdo_mysql_deps[] = {
#ifdef PDO_USE_MYSQLND
ZEND_MOD_REQUIRED("mysqlnd")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
diff --git a/ext/pdo_oci/pdo_oci.c b/ext/pdo_oci/pdo_oci.c
index 78539761b7..9182cf3bf4 100755
--- a/ext/pdo_oci/pdo_oci.c
+++ b/ext/pdo_oci/pdo_oci.c
@@ -41,7 +41,7 @@ const zend_function_entry pdo_oci_functions[] = {
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_oci_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
diff --git a/ext/pdo_odbc/pdo_odbc.c b/ext/pdo_odbc/pdo_odbc.c
index 4065211b43..cffd4d74f1 100755
--- a/ext/pdo_odbc/pdo_odbc.c
+++ b/ext/pdo_odbc/pdo_odbc.c
@@ -40,7 +40,7 @@ const function_entry pdo_odbc_functions[] = {
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_odbc_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c
index 805d752afc..b30a7a4f47 100644
--- a/ext/pdo_pgsql/pdo_pgsql.c
+++ b/ext/pdo_pgsql/pdo_pgsql.c
@@ -50,7 +50,7 @@ const zend_function_entry pdo_pgsql_functions[] = {
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_pgsql_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
diff --git a/ext/pdo_sqlite/pdo_sqlite.c b/ext/pdo_sqlite/pdo_sqlite.c
index c9a514a41b..ab3ec3f6cd 100644
--- a/ext/pdo_sqlite/pdo_sqlite.c
+++ b/ext/pdo_sqlite/pdo_sqlite.c
@@ -44,7 +44,7 @@ const zend_function_entry pdo_sqlite_functions[] = {
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_sqlite_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index 1c5e6783e5..a5cbab73e3 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -3721,7 +3721,7 @@ static const zend_module_dep phar_deps[] = {
#if HAVE_SPL
ZEND_MOD_REQUIRED("spl")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
zend_module_entry phar_module_entry = {
diff --git a/ext/session/session.c b/ext/session/session.c
index 287ffb073b..eb679cd3cb 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -2283,7 +2283,7 @@ static PHP_MINFO_FUNCTION(session) /* {{{ */
static const zend_module_dep session_deps[] = { /* {{{ */
ZEND_MOD_OPTIONAL("hash")
ZEND_MOD_REQUIRED("spl")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index f87d8d74ed..9bb9af1a85 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -2523,7 +2523,7 @@ const zend_function_entry simplexml_functions[] = { /* {{{ */
static const zend_module_dep simplexml_deps[] = { /* {{{ */
ZEND_MOD_REQUIRED("libxml")
ZEND_MOD_REQUIRED("spl")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index bf58519f80..d1cd20e86e 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -3401,7 +3401,7 @@ PHP_INI_END()
static const zend_module_dep standard_deps[] = { /* {{{ */
ZEND_MOD_OPTIONAL("session")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 7b7f7e5454..af9e9c9b8e 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -243,7 +243,7 @@ const zend_function_entry xml_functions[] = {
#ifdef LIBXML_EXPAT_COMPAT
static const zend_module_dep xml_deps[] = {
ZEND_MOD_REQUIRED("libxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
diff --git a/ext/xmlreader/php_xmlreader.c b/ext/xmlreader/php_xmlreader.c
index d960bed917..864634c48a 100644
--- a/ext/xmlreader/php_xmlreader.c
+++ b/ext/xmlreader/php_xmlreader.c
@@ -320,7 +320,7 @@ static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, int source_len, int ty
static const zend_module_dep xmlreader_deps[] = {
ZEND_MOD_REQUIRED("libxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ xmlreader_module_entry
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c
index 445a1d1bc0..8c34b1e986 100644
--- a/ext/xsl/php_xsl.c
+++ b/ext/xsl/php_xsl.c
@@ -41,7 +41,7 @@ const zend_function_entry xsl_functions[] = {
static const zend_module_dep xsl_deps[] = {
ZEND_MOD_REQUIRED("libxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ xsl_module_entry