main() -> int main() (C++ standard says so)
[ginac.git] / acinclude.m4
index 95e1a729ca3ac3ee6c337a5376280343b57dc15b..09d71cb3b2fa84fe7c49ba3e5d1e7c63c8e68748 100644 (file)
@@ -17,7 +17,7 @@ AC_TRY_RUN([
 #include <sys/types.h>
 #include <readline/readline.h>
 
-main()
+int main()
 {
     FILE *fd;
     fd = fopen("conftest.out", "w");