From: Stanislav Malyshev Date: Mon, 25 Mar 2013 06:43:25 +0000 (-0700) Subject: fix return value X-Git-Tag: php-5.5.0beta2~13^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=016fbd99914e51b686791fa5acf367cd2d9c35b8;p=php fix return value --- diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 70cd4e9ecc..81b06e9eab 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,