aboutsummaryrefslogtreecommitdiffstats
path: root/lib/time.in.h
diff options
context:
space:
mode:
authorPaul Eggert2020-02-23 01:24:21 -0800
committerPaul Eggert2020-02-23 01:27:19 -0800
commitb6be1ce644a07b6dc30eaa24dec082effd7add40 (patch)
tree02de8983f45751bf5da9b2f409758f2934306746 /lib/time.in.h
parentbce17355ac9f6a6f8ed778bd310f3baaea514270 (diff)
downloademacs-b6be1ce644a07b6dc30eaa24dec082effd7add40.tar.gz
emacs-b6be1ce644a07b6dc30eaa24dec082effd7add40.zip
Update from Gnulib
This incorporates: 2020-02-22 fchmodat, lchmod: simplify 2020-02-22 lchmod: fix link error on Solaris 10 2020-02-22 use 'restrict' in all POSIX function declarations 2020-02-22 chmodat, chownat: new modules * lib/gnulib.mk.in: Regenerate. * lib/inttypes.in.h, lib/openat.h, lib/signal.in.h: * lib/stdio.in.h, lib/stdlib.in.h, lib/string.in.h: * lib/sys_stat.in.h, lib/time.in.h, lib/unistd.in.h, m4/inttypes.m4: * m4/signal_h.m4, m4/stdio_h.m4, m4/stdlib_h.m4, m4/string_h.m4: * m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/time_h.m4: * m4/unistd_h.m4: Copy from Gnulib.
Diffstat (limited to 'lib/time.in.h')
-rw-r--r--lib/time.in.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/time.in.h b/lib/time.in.h
index 3f942b704dc..1d11650e77f 100644
--- a/lib/time.in.h
+++ b/lib/time.in.h
@@ -286,14 +286,17 @@ _GL_CXXALIASWARN (ctime);
286# if !(defined __cplusplus && defined GNULIB_NAMESPACE) 286# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
287# define strftime rpl_strftime 287# define strftime rpl_strftime
288# endif 288# endif
289_GL_FUNCDECL_RPL (strftime, size_t, (char *__buf, size_t __bufsize, 289_GL_FUNCDECL_RPL (strftime, size_t,
290 const char *__fmt, const struct tm *__tp) 290 (char *restrict __buf, size_t __bufsize,
291 _GL_ARG_NONNULL ((1, 3, 4))); 291 const char *restrict __fmt, const struct tm *restrict __tp)
292_GL_CXXALIAS_RPL (strftime, size_t, (char *__buf, size_t __bufsize, 292 _GL_ARG_NONNULL ((1, 3, 4)));
293 const char *__fmt, const struct tm *__tp)); 293_GL_CXXALIAS_RPL (strftime, size_t,
294 (char *restrict __buf, size_t __bufsize,
295 const char *restrict __fmt, const struct tm *restrict __tp));
294# else 296# else
295_GL_CXXALIAS_SYS (strftime, size_t, (char *__buf, size_t __bufsize, 297_GL_CXXALIAS_SYS (strftime, size_t,
296 const char *__fmt, const struct tm *__tp)); 298 (char *restrict __buf, size_t __bufsize,
299 const char *restrict __fmt, const struct tm *restrict __tp));
297# endif 300# endif
298# if __GLIBC__ >= 2 301# if __GLIBC__ >= 2
299_GL_CXXALIASWARN (strftime); 302_GL_CXXALIASWARN (strftime);