com php-src: Explicitly declare empty parameter list: ext/mbstring/mbstring.c
| From: | Christoph Michael Becker | Date: | Sun, 06 Oct 2019 17:04:51 +0000 |
| Subject: | com php-src: Explicitly declare empty parameter list: ext/mbstring/mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108740@lists.php.net to get a copy of this message | ||
Commit: 8f7238ed5ca2b63646347b898af464466cd8b13e
Author: Christoph M. Becker <cmbecker69@gmx.de> Sun, 6 Oct 2019 19:03:27 +0200
Parents: 058fed6cd9bd3bd9f81ee4406d504971af8d162a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8f7238ed5ca2b63646347b898af464466cd8b13e
Log:
Explicitly declare empty parameter list
Changed paths:
M ext/mbstring/mbstring.c
Diff:
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index c0110c61548..f5d7693687f 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -1151,7 +1151,7 @@ PHP_INI_BEGIN()
PHP_INI_END()
/* }}} */
-static void mbstring_internal_encoding_changed_hook() {
+static void mbstring_internal_encoding_changed_hook(void) {
/* One of the internal_encoding / input_encoding / output_encoding ini settings changed. */
if (!MBSTRG(internal_encoding_set)) {
const char *encoding = php_get_internal_encoding();