sniper Sun Feb 23 22:27:17 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/mhash mhash.c php_mhash.h
Log:
MFH: fixed compile warning
Index: php4/ext/mhash/mhash.c
diff -u php4/ext/mhash/mhash.c:1.39.4.2 php4/ext/mhash/mhash.c:1.39.4.3
--- php4/ext/mhash/mhash.c:1.39.4.2 Tue Dec 31 11:34:52 2002
+++ php4/ext/mhash/mhash.c Sun Feb 23 22:27:16 2003
@@ -59,7 +59,7 @@
/* 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;
Index: php4/ext/mhash/php_mhash.h
diff -u php4/ext/mhash/php_mhash.h:1.8 php4/ext/mhash/php_mhash.h:1.8.4.1
--- php4/ext/mhash/php_mhash.h:1.8 Sun Aug 4 17:37:44 2002
+++ php4/ext/mhash/php_mhash.h Sun Feb 23 22:27:16 2003
@@ -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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php