From a9a4668b9232b547cf522968a1d51c3d30fb64fc Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 24 Feb 2003 03:27:16 +0000 Subject: [PATCH] MFH: fixed compile warning --- ext/mhash/mhash.c | 2 +- ext/mhash/php_mhash.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c index 80b41a9224..a164a5c46d 100644 --- a/ext/mhash/mhash.c +++ b/ext/mhash/mhash.c @@ -59,7 +59,7 @@ ZEND_GET_MODULE(mhash) /* SALTED S2K uses a fixed salt */ #define SALT_SIZE 8 -static PHP_MINIT_FUNCTION(mhash) +PHP_MINIT_FUNCTION(mhash) { int i, n, l; char *name; diff --git a/ext/mhash/php_mhash.h b/ext/mhash/php_mhash.h index 00df652164..c92a47cee7 100644 --- a/ext/mhash/php_mhash.h +++ b/ext/mhash/php_mhash.h @@ -12,7 +12,7 @@ extern zend_module_entry mhash_module_entry; #define mhash_module_ptr &mhash_module_entry -static PHP_MINIT_FUNCTION(mhash); +PHP_MINIT_FUNCTION(mhash); PHP_MINFO_FUNCTION(mhash); PHP_FUNCTION(mhash_get_block_size); PHP_FUNCTION(mhash_get_hash_name); -- 2.40.0