]> granicus.if.org Git - php/commitdiff
fix return value
authorStanislav Malyshev <stas@php.net>
Mon, 25 Mar 2013 06:43:25 +0000 (23:43 -0700)
committerStanislav Malyshev <stas@php.net>
Mon, 25 Mar 2013 06:43:25 +0000 (23:43 -0700)
ext/opcache/config.m4

index 70cd4e9ecc62d39e6e755ab82abf7303a1865859..81b06e9eab6dc67d9bd03576aec0a72607ba825e 100644 (file)
@@ -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,