cvs: php-src /ext/mbstring mbstring.c
| From: | Antony Dovgal | Date: | Wed, 27 May 2009 13:42:00 +0000 |
| Subject: | cvs: php-src /ext/mbstring mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-58283@lists.php.net to get a copy of this message | ||
tony2001 Wed May 27 13:42:00 2009 UTC
Modified files:
/php-src/ext/mbstring mbstring.c
Log:
fix compile warnings
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/mbstring.c?r1=1.322&r2=1.323&diff_format=u
Index: php-src/ext/mbstring/mbstring.c
diff -u php-src/ext/mbstring/mbstring.c:1.322 php-src/ext/mbstring/mbstring.c:1.323
--- php-src/ext/mbstring/mbstring.c:1.322 Sun May 10 21:04:26 2009
+++ php-src/ext/mbstring/mbstring.c Wed May 27 13:42:00 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.322 2009/05/10 21:04:26 jani Exp $ */
+/* $Id: mbstring.c,v 1.323 2009/05/27 13:42:00 tony2001 Exp $ */
/*
* PHP 4 Multibyte String module "mbstring"
@@ -98,10 +98,12 @@
static PHP_GINIT_FUNCTION(mbstring);
static PHP_GSHUTDOWN_FUNCTION(mbstring);
+#ifdef ZEND_MULTIBYTE
static size_t php_mb_oddlen(const unsigned char *string, size_t length, const char *encoding
TSRMLS_DC);
static int php_mb_encoding_converter(unsigned char **to, size_t *to_length, const unsigned char
*from, size_t from_length, const char *encoding_to, const char *encoding_from TSRMLS_DC);
static char* php_mb_encoding_detector(const unsigned char *arg_string, size_t arg_length, char
*arg_list TSRMLS_DC);
static int php_mb_set_zend_encoding(TSRMLS_D);
+#endif
/* }}} */
/* {{{ php_mb_default_identify_list */