com php-src: "extern" shouldn't be used for definitions: sapi/embed/php_embed.c
| From: | Anatol Belski | Date: | Tue, 18 Nov 2014 12:19:47 +0000 |
| Subject: | com php-src: "extern" shouldn't be used for definitions: sapi/embed/php_embed.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83139@lists.php.net to get a copy of this message | ||
Commit: 544a2c479254d104bb97641c819d733bd08ef968
Author: Anatol Belski <ab@php.net> Tue, 18 Nov 2014 10:50:56 +0100
Parents: 6b3b4fc94497f8e468821e1a3108916cc83c15cf
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=544a2c479254d104bb97641c819d733bd08ef968
Log:
"extern" shouldn't be used for definitions
Changed paths:
M sapi/embed/php_embed.c
Diff:
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c
index e0df666..8bfaf9f 100644
--- a/sapi/embed/php_embed.c
+++ b/sapi/embed/php_embed.c
@@ -108,7 +108,7 @@ static int php_embed_startup(sapi_module_struct *sapi_module)
return SUCCESS;
}
-extern EMBED_SAPI_API sapi_module_struct php_embed_module = {
+EMBED_SAPI_API sapi_module_struct php_embed_module = {
"embed", /* name */
"PHP Embedded Library", /* pretty name */