mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
configure: Fix an "implicit int" warning
configure defines a main function without a return type, leading to a -Wimplicit-int warning (enabled by default in C99 and later dialects). This commit fixes that.
This commit is contained in:
parent
79fdb363b3
commit
d97fad2036
@ -390,7 +390,7 @@ void foo(const char *format, ...) {
|
|||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
main() { foo("hello\n"); }
|
int main() { foo("hello\n"); }
|
||||||
]])],[el_cv_HAVE_C99_VSNPRINTF=yes],[el_cv_HAVE_C99_VSNPRINTF=no],[el_cv_HAVE_C99_VSNPRINTF=cross])])
|
]])],[el_cv_HAVE_C99_VSNPRINTF=yes],[el_cv_HAVE_C99_VSNPRINTF=no],[el_cv_HAVE_C99_VSNPRINTF=cross])])
|
||||||
if test x"$el_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
|
if test x"$el_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
|
||||||
EL_DEFINE(HAVE_C99_VSNPRINTF, [C99 compliant vsnprintf()])
|
EL_DEFINE(HAVE_C99_VSNPRINTF, [C99 compliant vsnprintf()])
|
||||||
|
Loading…
Reference in New Issue
Block a user