Hi Eric,

> --- a/lib/mktime.c
> +++ b/lib/mktime.c
> @@ -147,6 +147,9 @@ const unsigned short int __mon_yday[2][13] =
>  # undef __localtime_r
>  # define __localtime_r localtime_r
>  # define __mktime_internal mktime_internal
> +time_t __mktime_internal (struct tm *,
> +                         struct tm * (*) (time_t const *, struct tm *),
> +                         time_t *);
>  #endif
> 
>  /* Return an integer value measuring (YEAR1-YDAY1 HOUR1:MIN1:SEC1) -

Here gcc was essentially complaining that 'mktime_internal' is not
declared in a header file. Such a header file would be appropriate,
to ensure that the declarations in mktime.c and timegm.c don't run
out of sync.

How about moving this declaration to a new file mktime-internal.h?

Bruno


Reply via email to