mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
build: Avoid implicit 'int' return type in configure tests.
Fixes <https://bugs.gnu.org/60022>. Reported by Florian Weimer <fweimer@redhat.com>. * configure.ac: Add missing implicit 'int' return type in tests.
This commit is contained in:
parent
51152392ef
commit
f8938f517e
1 changed files with 2 additions and 2 deletions
|
@ -904,7 +904,7 @@ AC_CACHE_VAL(guile_cv_localtime_cache,
|
|||
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <time.h>
|
||||
#include <stdlib.h>
|
||||
extern char **environ;
|
||||
unset_TZ ()
|
||||
int unset_TZ ()
|
||||
{
|
||||
char **from, **to;
|
||||
for (to = from = environ; (*to = *from); from++)
|
||||
|
@ -913,7 +913,7 @@ unset_TZ ()
|
|||
}
|
||||
char TZ_GMT0[] = "TZ=GMT0";
|
||||
char TZ_PST8[] = "TZ=PST8";
|
||||
main()
|
||||
int main()
|
||||
{
|
||||
time_t now = time ((time_t *) 0);
|
||||
int hour_GMT0, hour_unset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue