com php-src: make it int main: ext/opcache/config.m4
| From: | Stanislav Malyshev | Date: | Mon, 25 Mar 2013 06:58:30 +0000 |
| Subject: | com php-src: make it int main: ext/opcache/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71733@lists.php.net to get a copy of this message | ||
Commit: c20e4bbc9678906b12a39747f79d29654ac6c2c5
Author: Stanislav Malyshev <stas@php.net> Sun, 24 Mar 2013 23:58:30 -0700
Parents: 016fbd99914e51b686791fa5acf367cd2d9c35b8
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c20e4bbc9678906b12a39747f79d29654ac6c2c5
Log:
make it int main
Changed paths:
M ext/opcache/config.m4
Diff:
diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
index 81b06e9..f9c38b1 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() { return 0; }
+int 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,