cvs: php-src /ext/mhash mhash.c
| From: | Ilia Alshanetsky | Date: | Tue, 21 Nov 2006 15:58:29 +0000 |
| Subject: | cvs: php-src /ext/mhash mhash.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41668@lists.php.net to get a copy of this message | ||
iliaa Tue Nov 21 15:58:29 2006 UTC
Modified files:
/php-src/ext/mhash mhash.c
Log:
Fixed build
http://cvs.php.net/viewvc.cgi/php-src/ext/mhash/mhash.c?r1=1.53&r2=1.54&diff_format=u
Index: php-src/ext/mhash/mhash.c
diff -u php-src/ext/mhash/mhash.c:1.53 php-src/ext/mhash/mhash.c:1.54
--- php-src/ext/mhash/mhash.c:1.53 Wed Nov 15 17:16:04 2006
+++ php-src/ext/mhash/mhash.c Tue Nov 21 15:58:29 2006
@@ -16,7 +16,7 @@
| Nikos Mavroyanopoulos <nmav@hellug.gr> (HMAC, KEYGEN) |
+----------------------------------------------------------------------+
*/
-/* $Id: mhash.c,v 1.53 2006/11/15 17:16:04 mike Exp $ */
+/* $Id: mhash.c,v 1.54 2006/11/21 15:58:29 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -65,8 +65,8 @@
#define NO_ARGS() (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ""))
-extern const unsigned char *mhash_get_hash_name_static(hashid hash);
-extern const unsigned char *mhash_get_keygen_name_static(keygenid keygen);
+extern const char *mhash_get_hash_name_static(hashid hash);
+extern const char *mhash_get_keygen_name_static(hashid type);
/* {{{ int php_mhash */
int php_mhash(hashid hash, const char *input_str, int input_len, const char *key_str, int key_len,
char **enc, int *len TSRMLS_DC)