aboutsummaryrefslogtreecommitdiffstats
path: root/lib/time.in.h
diff options
context:
space:
mode:
authorPaul Eggert2025-11-25 22:13:37 -0800
committerPaul Eggert2025-11-25 23:08:33 -0800
commit8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d (patch)
tree2706ced060603fa07e7891477ce42975e14f1a23 /lib/time.in.h
parent16a70518880ef8f54bd853020f1606d3abf04d8e (diff)
downloademacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.tar.gz
emacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.zip
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/time.in.h')
-rw-r--r--lib/time.in.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/time.in.h b/lib/time.in.h
index d28702d2f61..3ce2de16f2a 100644
--- a/lib/time.in.h
+++ b/lib/time.in.h
@@ -161,7 +161,6 @@ _GL_CXXALIAS_SYS (timespec_get, int, (struct timespec *ts, int base));
161_GL_CXXALIASWARN (timespec_get); 161_GL_CXXALIASWARN (timespec_get);
162# endif 162# endif
163# elif defined GNULIB_POSIXCHECK 163# elif defined GNULIB_POSIXCHECK
164# undef timespec_get
165# if HAVE_RAW_DECL_TIMESPEC_GET 164# if HAVE_RAW_DECL_TIMESPEC_GET
166_GL_WARN_ON_USE (timespec_get, "timespec_get is unportable - " 165_GL_WARN_ON_USE (timespec_get, "timespec_get is unportable - "
167 "use gnulib module timespec_get for portability"); 166 "use gnulib module timespec_get for portability");
@@ -190,7 +189,6 @@ _GL_CXXALIAS_SYS (timespec_getres, int, (struct timespec *ts, int base));
190_GL_CXXALIASWARN (timespec_getres); 189_GL_CXXALIASWARN (timespec_getres);
191# endif 190# endif
192# elif defined GNULIB_POSIXCHECK 191# elif defined GNULIB_POSIXCHECK
193# undef timespec_getres
194# if HAVE_RAW_DECL_TIMESPEC_GETRES 192# if HAVE_RAW_DECL_TIMESPEC_GETRES
195_GL_WARN_ON_USE (timespec_getres, "timespec_getres is unportable - " 193_GL_WARN_ON_USE (timespec_getres, "timespec_getres is unportable - "
196 "use gnulib module timespec_getres for portability"); 194 "use gnulib module timespec_getres for portability");
@@ -212,7 +210,6 @@ _GL_CXXALIAS_SYS (time, time_t, (time_t *__tp));
212_GL_CXXALIASWARN (time); 210_GL_CXXALIASWARN (time);
213# endif 211# endif
214# elif defined GNULIB_POSIXCHECK 212# elif defined GNULIB_POSIXCHECK
215# undef time
216# if HAVE_RAW_DECL_TIME 213# if HAVE_RAW_DECL_TIME
217_GL_WARN_ON_USE (time, "time has consistency problems - " 214_GL_WARN_ON_USE (time, "time has consistency problems - "
218 "use gnulib module time for portability"); 215 "use gnulib module time for portability");
@@ -243,7 +240,6 @@ _GL_CXXALIAS_SYS (nanosleep, int,
243# endif 240# endif
244_GL_CXXALIASWARN (nanosleep); 241_GL_CXXALIASWARN (nanosleep);
245# elif defined GNULIB_POSIXCHECK 242# elif defined GNULIB_POSIXCHECK
246# undef nanosleep
247# if HAVE_RAW_DECL_NANOSLEEP 243# if HAVE_RAW_DECL_NANOSLEEP
248_GL_WARN_ON_USE (nanosleep, "nanosleep is unportable - " 244_GL_WARN_ON_USE (nanosleep, "nanosleep is unportable - "
249 "use gnulib module nanosleep for portability"); 245 "use gnulib module nanosleep for portability");
@@ -284,7 +280,6 @@ _GL_CXXALIAS_SYS (tzset, void, (void));
284# endif 280# endif
285_GL_CXXALIASWARN (tzset); 281_GL_CXXALIASWARN (tzset);
286# elif defined GNULIB_POSIXCHECK 282# elif defined GNULIB_POSIXCHECK
287# undef tzset
288# if HAVE_RAW_DECL_TZSET 283# if HAVE_RAW_DECL_TZSET
289_GL_WARN_ON_USE (tzset, "tzset has portability problems - " 284_GL_WARN_ON_USE (tzset, "tzset has portability problems - "
290 "use gnulib module tzset for portability"); 285 "use gnulib module tzset for portability");
@@ -306,7 +301,6 @@ _GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp));
306_GL_CXXALIASWARN (mktime); 301_GL_CXXALIASWARN (mktime);
307# endif 302# endif
308# elif defined GNULIB_POSIXCHECK 303# elif defined GNULIB_POSIXCHECK
309# undef mktime
310# if HAVE_RAW_DECL_MKTIME 304# if HAVE_RAW_DECL_MKTIME
311_GL_WARN_ON_USE (mktime, "mktime has portability problems - " 305_GL_WARN_ON_USE (mktime, "mktime has portability problems - "
312 "use gnulib module mktime for portability"); 306 "use gnulib module mktime for portability");
@@ -362,12 +356,10 @@ _GL_CXXALIAS_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer,
362_GL_CXXALIASWARN (gmtime_r); 356_GL_CXXALIASWARN (gmtime_r);
363# endif 357# endif
364# elif defined GNULIB_POSIXCHECK 358# elif defined GNULIB_POSIXCHECK
365# undef localtime_r
366# if HAVE_RAW_DECL_LOCALTIME_R 359# if HAVE_RAW_DECL_LOCALTIME_R
367_GL_WARN_ON_USE (localtime_r, "localtime_r is unportable - " 360_GL_WARN_ON_USE (localtime_r, "localtime_r is unportable - "
368 "use gnulib module time_r for portability"); 361 "use gnulib module time_r for portability");
369# endif 362# endif
370# undef gmtime_r
371# if HAVE_RAW_DECL_GMTIME_R 363# if HAVE_RAW_DECL_GMTIME_R
372_GL_WARN_ON_USE (gmtime_r, "gmtime_r is unportable - " 364_GL_WARN_ON_USE (gmtime_r, "gmtime_r is unportable - "
373 "use gnulib module time_r for portability"); 365 "use gnulib module time_r for portability");
@@ -393,7 +385,6 @@ _GL_CXXALIAS_SYS (localtime, struct tm *, (time_t const *__timer));
393_GL_CXXALIASWARN (localtime); 385_GL_CXXALIASWARN (localtime);
394# endif 386# endif
395# elif defined GNULIB_POSIXCHECK 387# elif defined GNULIB_POSIXCHECK
396# undef localtime
397# if HAVE_RAW_DECL_LOCALTIME 388# if HAVE_RAW_DECL_LOCALTIME
398_GL_WARN_ON_USE (localtime, "localtime has portability problems - " 389_GL_WARN_ON_USE (localtime, "localtime has portability problems - "
399 "use gnulib module localtime for portability"); 390 "use gnulib module localtime for portability");
@@ -430,7 +421,6 @@ _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf,
430 struct tm *restrict __tm)); 421 struct tm *restrict __tm));
431_GL_CXXALIASWARN (strptime); 422_GL_CXXALIASWARN (strptime);
432# elif defined GNULIB_POSIXCHECK 423# elif defined GNULIB_POSIXCHECK
433# undef strptime
434# if HAVE_RAW_DECL_STRPTIME 424# if HAVE_RAW_DECL_STRPTIME
435_GL_WARN_ON_USE (strptime, "strptime is unportable - " 425_GL_WARN_ON_USE (strptime, "strptime is unportable - "
436 "use gnulib module strptime for portability"); 426 "use gnulib module strptime for portability");
@@ -483,7 +473,6 @@ _GL_CXXALIAS_SYS (strftime, size_t,
483_GL_CXXALIASWARN (strftime); 473_GL_CXXALIASWARN (strftime);
484# endif 474# endif
485# elif defined GNULIB_POSIXCHECK 475# elif defined GNULIB_POSIXCHECK
486# undef strftime
487# if HAVE_RAW_DECL_STRFTIME 476# if HAVE_RAW_DECL_STRFTIME
488_GL_WARN_ON_USE (strftime, "strftime has portability problems - " 477_GL_WARN_ON_USE (strftime, "strftime has portability problems - "
489 "use gnulib module strftime-fixes for portability"); 478 "use gnulib module strftime-fixes for portability");
@@ -618,7 +607,6 @@ _GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm));
618_GL_CXXALIASWARN (timegm); 607_GL_CXXALIASWARN (timegm);
619# endif 608# endif
620# elif defined GNULIB_POSIXCHECK 609# elif defined GNULIB_POSIXCHECK
621# undef timegm
622# if HAVE_RAW_DECL_TIMEGM 610# if HAVE_RAW_DECL_TIMEGM
623_GL_WARN_ON_USE (timegm, "timegm is unportable - " 611_GL_WARN_ON_USE (timegm, "timegm is unportable - "
624 "use gnulib module timegm for portability"); 612 "use gnulib module timegm for portability");
@@ -629,28 +617,24 @@ _GL_WARN_ON_USE (timegm, "timegm is unportable - "
629 buffers when given outlandish struct tm values. Portable 617 buffers when given outlandish struct tm values. Portable
630 applications should use strftime (or even sprintf) instead. */ 618 applications should use strftime (or even sprintf) instead. */
631# if defined GNULIB_POSIXCHECK 619# if defined GNULIB_POSIXCHECK
632# undef asctime
633# if HAVE_RAW_DECL_ASCTIME 620# if HAVE_RAW_DECL_ASCTIME
634_GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - " 621_GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - "
635 "better use strftime (or even sprintf) instead"); 622 "better use strftime (or even sprintf) instead");
636# endif 623# endif
637# endif 624# endif
638# if defined GNULIB_POSIXCHECK 625# if defined GNULIB_POSIXCHECK
639# undef asctime_r
640# if HAVE_RAW_DECL_ASCTIME_R 626# if HAVE_RAW_DECL_ASCTIME_R
641_GL_WARN_ON_USE (asctime_r, "asctime_r can overrun buffers in some cases - " 627_GL_WARN_ON_USE (asctime_r, "asctime_r can overrun buffers in some cases - "
642 "better use strftime (or even sprintf) instead"); 628 "better use strftime (or even sprintf) instead");
643# endif 629# endif
644# endif 630# endif
645# if defined GNULIB_POSIXCHECK 631# if defined GNULIB_POSIXCHECK
646# undef ctime
647# if HAVE_RAW_DECL_CTIME 632# if HAVE_RAW_DECL_CTIME
648_GL_WARN_ON_USE (ctime, "ctime can overrun buffers in some cases - " 633_GL_WARN_ON_USE (ctime, "ctime can overrun buffers in some cases - "
649 "better use strftime (or even sprintf) instead"); 634 "better use strftime (or even sprintf) instead");
650# endif 635# endif
651# endif 636# endif
652# if defined GNULIB_POSIXCHECK 637# if defined GNULIB_POSIXCHECK
653# undef ctime_r
654# if HAVE_RAW_DECL_CTIME_R 638# if HAVE_RAW_DECL_CTIME_R
655_GL_WARN_ON_USE (ctime_r, "ctime_r can overrun buffers in some cases - " 639_GL_WARN_ON_USE (ctime_r, "ctime_r can overrun buffers in some cases - "
656 "better use strftime (or even sprintf) instead"); 640 "better use strftime (or even sprintf) instead");