[PROPOSED] Port check_time_t_alternatives to June 8 AIX fix
* private.h (TZ_TIME_T): Declare strftime. This is helpful now that we use our own strftime. Declare strftime_l too, if present. --- private.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/private.h b/private.h index 982ddf3..2b07251 100644 --- a/private.h +++ b/private.h @@ -424,6 +424,12 @@ typedef time_tz tz_time_t; char *ctime(time_t const *); char *ctime_r(time_t const *, char *); double difftime(time_t, time_t) ATTRIBUTE_CONST; +size_t strftime(char *restrict, size_t, char const *restrict, + struct tm const *restrict); +# if HAVE_STRFTIME_L +size_t strftime_l(char *restrict, size_t, char const *restrict, + struct tm const *restrict, locale_t); +# endif struct tm *gmtime(time_t const *); struct tm *gmtime_r(time_t const *restrict, struct tm *restrict); struct tm *localtime(time_t const *); -- 2.9.4
participants (1)
-
Paul Eggert