summaryrefslogtreecommitdiff
path: root/ext/hash/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hash/hash.c')
-rw-r--r--ext/hash/hash.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/hash/hash.c b/ext/hash/hash.c
index 1975d2dbc9..d9c3a892d9 100644
--- a/ext/hash/hash.c
+++ b/ext/hash/hash.c
@@ -814,7 +814,7 @@ zend_module_entry mhash_module_entry = {
NULL,
NULL,
PHP_MINFO(mhash),
- NO_VERSION_YET,
+ PHP_MHASH_VERSION,
STANDARD_MODULE_PROPERTIES,
};
@@ -1271,9 +1271,7 @@ const zend_function_entry hash_functions[] = {
/* {{{ hash_module_entry
*/
zend_module_entry hash_module_entry = {
-#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
-#endif
PHP_HASH_EXTNAME,
hash_functions,
PHP_MINIT(hash),
@@ -1281,9 +1279,7 @@ zend_module_entry hash_module_entry = {
NULL, /* RINIT */
NULL, /* RSHUTDOWN */
PHP_MINFO(hash),
-#if ZEND_MODULE_API_NO >= 20010901
- PHP_HASH_EXTVER, /* Replace with version number for your extension */
-#endif
+ PHP_HASH_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */