C99 compilers do not necessarily recognize implicit ints, so use int explicitly as the return type of main in CAN_DO.
In HAVE_FUNC, supply a custom prototype to avoid an implicit function declaration, otherwise this test fails at compile time as well. The same prototype declaration is used by autoconf, so future compilers are likely to remain compatible.
C99 compilers do not necessarily recognize implicit ints, so use int explicitly as the return type of main in CAN_DO.
In HAVE_FUNC, supply a custom prototype to avoid an implicit function declaration, otherwise this test fails at compile time as well. The same prototype declaration is used by autoconf, so future compilers are likely to remain compatible.