From: foobar Date: Mon, 24 Feb 2003 03:27:00 +0000 (+0000) Subject: fix compile warning X-Git-Tag: RELEASE_0_5~798 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ed8720fa294087de8713b92941e1d5f6ed164a4;p=php fix compile warning --- 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);