cvs: php4 /ext/mhash mhash.c php_mhash.h
| From: | Jani Taskinen | Date: | Mon, 24 Feb 2003 03:27:00 +0000 |
| Subject: | cvs: php4 /ext/mhash mhash.c php_mhash.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19114@lists.php.net to get a copy of this message | ||
sniper Sun Feb 23 22:27:00 2003 EDT
Modified files:
/php4/ext/mhash mhash.c php_mhash.h
Log:
fix compile warning
Index: php4/ext/mhash/mhash.c
diff -u php4/ext/mhash/mhash.c:1.41 php4/ext/mhash/mhash.c:1.42
--- php4/ext/mhash/mhash.c:1.41 Tue Dec 31 11:06:56 2002
+++ php4/ext/mhash/mhash.c Sun Feb 23 22:27:00 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.9
--- 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:00 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);