com php-src: fix return value: ext/opcache/config.m4
| From: | Stanislav Malyshev | Date: | Mon, 25 Mar 2013 06:43:25 +0000 |
| Subject: | com php-src: fix return value: ext/opcache/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71731@lists.php.net to get a copy of this message | ||
Commit: 016fbd99914e51b686791fa5acf367cd2d9c35b8
Author: Stanislav Malyshev <stas@php.net> Sun, 24 Mar 2013 23:43:25 -0700
Parents: 385d0e52cc527393269a48f2fdd01aa1541b4e1f
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=016fbd99914e51b686791fa5acf367cd2d9c35b8
Log:
fix return value
Changed paths:
M ext/opcache/config.m4
Diff:
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 70cd4e9..81b06e9 100644
--- a/ext/opcache/config.m4
+++ b/ext/opcache/config.m4
@@ -356,7 +356,7 @@ extern int lock_file;
# error "Don't know how to define struct flock"
# endif
#endif
-void main() {}
+void main() { return 0; }
], [], [AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set
--enable-opcache=no])], [])
PHP_NEW_EXTENSION(opcache,