com php-src: Added missed PHPAPI: ext/standard/string.c
| From: | Xinchen Hui | Date: | Mon, 15 Jan 2018 13:39:25 +0000 |
| Subject: | com php-src: Added missed PHPAPI: ext/standard/string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100888@lists.php.net to get a copy of this message | ||
Commit: 0b7a96810942f1fa53b048af2e73bfdf5c62feca
Author: Xinchen Hui <laruence@gmail.com> Mon, 15 Jan 2018 21:39:25 +0800
Parents: 92d6f26e3f8b02220ccfcdd735cf4310ae1a7c8f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0b7a96810942f1fa53b048af2e73bfdf5c62feca
Log:
Added missed PHPAPI
Changed paths:
M ext/standard/string.c
Diff:
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 0c491dd..2abd2c7 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -4074,7 +4074,7 @@ do_escape:
*/
zend_string *php_addslashes_default(zend_string *str, int should_free)
#else
-zend_string *php_addslashes(zend_string *str, int should_free)
+PHPAPI zend_string *php_addslashes(zend_string *str, int should_free)
#endif
{
/* maximum string length, worst case situation */