summaryrefslogtreecommitdiff
path: root/ext/standard/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/pack.c')
-rw-r--r--ext/standard/pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/pack.c b/ext/standard/pack.c
index 4754c5606d..0523253ee4 100644
--- a/ext/standard/pack.c
+++ b/ext/standard/pack.c
@@ -57,7 +57,7 @@ function_entry pack_functions[] = {
};
php3_module_entry pack_module_entry = {
- "PHP_pack", pack_functions, php3_minit_pack, NULL, NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
+ "PHP_pack", pack_functions, PHP_MINIT(pack), NULL, NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
};
/* Whether machine is little endian */
@@ -794,7 +794,7 @@ PHP_FUNCTION(unpack)
/* }}} */
-int php3_minit_pack(INIT_FUNC_ARGS)
+PHP_MINIT_FUNCTION(pack)
{
int machine_endian_check = 1;
int i;