Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
e82371bf
by Sam James at 2022-11-10T05:38:55+01:00
2 changed files:
Changes:
... | ... | @@ -50,7 +50,7 @@ if test ${cross_compiling} = yes; then |
50 | 50 | |
51 | 51 | AC_MSG_CHECKING([for suffix of native executables])
|
52 | 52 | rm -f a.* b.* a_out.exe conftest.*
|
53 | - echo > conftest.c "int main() { return 0;}"
|
|
53 | + echo > conftest.c "int main(void) { return 0;}"
|
|
54 | 54 | ${CC_BUILD} conftest.c || AC_MSG_ERROR([native C compiler is not working])
|
55 | 55 | rm -f conftest.c
|
56 | 56 | if test -x a.out -o -x b.out -o -x conftest; then
|
... | ... | @@ -121,7 +121,7 @@ AC_DEFUN([AC_CHECK_FT2], |
121 | 121 | #include <stdlib.h>
|
122 | 122 | |
123 | 123 | int
|
124 | -main()
|
|
124 | +main(void)
|
|
125 | 125 | {
|
126 | 126 | FT_Library library;
|
127 | 127 | FT_Error error;
|