diff options
| author | Paul Eggert | 2025-11-25 22:13:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2025-11-25 23:08:33 -0800 |
| commit | 8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d (patch) | |
| tree | 2706ced060603fa07e7891477ce42975e14f1a23 /lib/time.in.h | |
| parent | 16a70518880ef8f54bd853020f1606d3abf04d8e (diff) | |
| download | emacs-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.h | 16 |
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"); |