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/stdlib.in.h | |
| parent | 16a70518880ef8f54bd853020f1606d3abf04d8e (diff) | |
| download | emacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.tar.gz emacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.zip | |
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to '')
| -rw-r--r-- | lib/stdlib.in.h | 52 |
1 files changed, 3 insertions, 49 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index bef0aaaf92e..b5ad275e5d6 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -224,9 +224,9 @@ _GL_INLINE_HEADER_BEGIN | |||
| 224 | 224 | ||
| 225 | /* Declarations for ISO C N3322. */ | 225 | /* Declarations for ISO C N3322. */ |
| 226 | #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ | 226 | #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__ |
| 227 | _GL_EXTERN_C void *bsearch (const void *__key, | 227 | _GL_EXTERN_C void *_GL_FUNCDECL_SYS_NAME (bsearch) |
| 228 | const void *__base, size_t __nmemb, size_t __size, | 228 | (const void *__key, const void *__base, size_t __nmemb, size_t __size, |
| 229 | int (*__compare) (const void *, const void *)) | 229 | int (*__compare) (const void *, const void *)) |
| 230 | _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); | 230 | _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3) _GL_ARG_NONNULL ((5)); |
| 231 | _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, | 231 | _GL_EXTERN_C void qsort (void *__base, size_t __nmemb, size_t __size, |
| 232 | int (*__compare) (const void *, const void *)) | 232 | int (*__compare) (const void *, const void *)) |
| @@ -254,7 +254,6 @@ _GL_CXXALIAS_SYS (_Exit, void, (int status)); | |||
| 254 | _GL_CXXALIASWARN (_Exit); | 254 | _GL_CXXALIASWARN (_Exit); |
| 255 | # endif | 255 | # endif |
| 256 | #elif defined GNULIB_POSIXCHECK | 256 | #elif defined GNULIB_POSIXCHECK |
| 257 | # undef _Exit | ||
| 258 | # if HAVE_RAW_DECL__EXIT | 257 | # if HAVE_RAW_DECL__EXIT |
| 259 | _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " | 258 | _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " |
| 260 | "use gnulib module _Exit for portability"); | 259 | "use gnulib module _Exit for portability"); |
| @@ -301,7 +300,6 @@ _GL_CXXALIAS_SYS (free, void, (void *ptr)); | |||
| 301 | _GL_CXXALIASWARN (free); | 300 | _GL_CXXALIASWARN (free); |
| 302 | # endif | 301 | # endif |
| 303 | #elif defined GNULIB_POSIXCHECK | 302 | #elif defined GNULIB_POSIXCHECK |
| 304 | # undef free | ||
| 305 | /* Assume free is always declared. */ | 303 | /* Assume free is always declared. */ |
| 306 | _GL_WARN_ON_USE (free, "free is not POSIX:2024 compliant everywhere - " | 304 | _GL_WARN_ON_USE (free, "free is not POSIX:2024 compliant everywhere - " |
| 307 | "use gnulib module free-posix for portability"); | 305 | "use gnulib module free-posix for portability"); |
| @@ -359,7 +357,6 @@ _GL_FUNCDECL_SYS (aligned_alloc, void *, | |||
| 359 | # endif | 357 | # endif |
| 360 | # endif | 358 | # endif |
| 361 | # if defined GNULIB_POSIXCHECK | 359 | # if defined GNULIB_POSIXCHECK |
| 362 | # undef aligned_alloc | ||
| 363 | # if HAVE_RAW_DECL_ALIGNED_ALLOC | 360 | # if HAVE_RAW_DECL_ALIGNED_ALLOC |
| 364 | _GL_WARN_ON_USE (aligned_alloc, "aligned_alloc is not portable - " | 361 | _GL_WARN_ON_USE (aligned_alloc, "aligned_alloc is not portable - " |
| 365 | "use gnulib module aligned_alloc for portability"); | 362 | "use gnulib module aligned_alloc for portability"); |
| @@ -379,7 +376,6 @@ _GL_FUNCDECL_SYS (atoll, long long, | |||
| 379 | _GL_CXXALIAS_SYS (atoll, long long, (const char *string)); | 376 | _GL_CXXALIAS_SYS (atoll, long long, (const char *string)); |
| 380 | _GL_CXXALIASWARN (atoll); | 377 | _GL_CXXALIASWARN (atoll); |
| 381 | #elif defined GNULIB_POSIXCHECK | 378 | #elif defined GNULIB_POSIXCHECK |
| 382 | # undef atoll | ||
| 383 | # if HAVE_RAW_DECL_ATOLL | 379 | # if HAVE_RAW_DECL_ATOLL |
| 384 | _GL_WARN_ON_USE (atoll, "atoll is unportable - " | 380 | _GL_WARN_ON_USE (atoll, "atoll is unportable - " |
| 385 | "use gnulib module atoll for portability"); | 381 | "use gnulib module atoll for portability"); |
| @@ -436,7 +432,6 @@ _GL_FUNCDECL_SYS (calloc, void *, | |||
| 436 | # endif | 432 | # endif |
| 437 | # endif | 433 | # endif |
| 438 | # if defined GNULIB_POSIXCHECK | 434 | # if defined GNULIB_POSIXCHECK |
| 439 | # undef calloc | ||
| 440 | /* Assume calloc is always declared. */ | 435 | /* Assume calloc is always declared. */ |
| 441 | _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " | 436 | _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " |
| 442 | "use gnulib module calloc-posix for portability"); | 437 | "use gnulib module calloc-posix for portability"); |
| @@ -497,7 +492,6 @@ _GL_FUNCDECL_SYS (canonicalize_file_name, char *, | |||
| 497 | # endif | 492 | # endif |
| 498 | # endif | 493 | # endif |
| 499 | # if defined GNULIB_POSIXCHECK | 494 | # if defined GNULIB_POSIXCHECK |
| 500 | # undef canonicalize_file_name | ||
| 501 | # if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME | 495 | # if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME |
| 502 | _GL_WARN_ON_USE (canonicalize_file_name, | 496 | _GL_WARN_ON_USE (canonicalize_file_name, |
| 503 | "canonicalize_file_name is unportable - " | 497 | "canonicalize_file_name is unportable - " |
| @@ -597,7 +591,6 @@ _GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem)); | |||
| 597 | _GL_CXXALIASWARN (getloadavg); | 591 | _GL_CXXALIASWARN (getloadavg); |
| 598 | # endif | 592 | # endif |
| 599 | #elif defined GNULIB_POSIXCHECK | 593 | #elif defined GNULIB_POSIXCHECK |
| 600 | # undef getloadavg | ||
| 601 | # if HAVE_RAW_DECL_GETLOADAVG | 594 | # if HAVE_RAW_DECL_GETLOADAVG |
| 602 | _GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " | 595 | _GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " |
| 603 | "use gnulib module getloadavg for portability"); | 596 | "use gnulib module getloadavg for portability"); |
| @@ -632,7 +625,6 @@ _GL_CXXALIAS_SYS (getprogname, const char *, (void)); | |||
| 632 | _GL_CXXALIASWARN (getprogname); | 625 | _GL_CXXALIASWARN (getprogname); |
| 633 | # endif | 626 | # endif |
| 634 | #elif defined GNULIB_POSIXCHECK | 627 | #elif defined GNULIB_POSIXCHECK |
| 635 | # undef getprogname | ||
| 636 | # if HAVE_RAW_DECL_GETPROGNAME | 628 | # if HAVE_RAW_DECL_GETPROGNAME |
| 637 | _GL_WARN_ON_USE (getprogname, "getprogname is unportable - " | 629 | _GL_WARN_ON_USE (getprogname, "getprogname is unportable - " |
| 638 | "use gnulib module getprogname for portability"); | 630 | "use gnulib module getprogname for portability"); |
| @@ -674,7 +666,6 @@ _GL_CXXALIAS_SYS (getsubopt, int, | |||
| 674 | _GL_CXXALIASWARN (getsubopt); | 666 | _GL_CXXALIASWARN (getsubopt); |
| 675 | # endif | 667 | # endif |
| 676 | #elif defined GNULIB_POSIXCHECK | 668 | #elif defined GNULIB_POSIXCHECK |
| 677 | # undef getsubopt | ||
| 678 | # if HAVE_RAW_DECL_GETSUBOPT | 669 | # if HAVE_RAW_DECL_GETSUBOPT |
| 679 | _GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " | 670 | _GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " |
| 680 | "use gnulib module getsubopt for portability"); | 671 | "use gnulib module getsubopt for portability"); |
| @@ -690,7 +681,6 @@ _GL_FUNCDECL_SYS (grantpt, int, (int fd), ); | |||
| 690 | _GL_CXXALIAS_SYS (grantpt, int, (int fd)); | 681 | _GL_CXXALIAS_SYS (grantpt, int, (int fd)); |
| 691 | _GL_CXXALIASWARN (grantpt); | 682 | _GL_CXXALIASWARN (grantpt); |
| 692 | #elif defined GNULIB_POSIXCHECK | 683 | #elif defined GNULIB_POSIXCHECK |
| 693 | # undef grantpt | ||
| 694 | # if HAVE_RAW_DECL_GRANTPT | 684 | # if HAVE_RAW_DECL_GRANTPT |
| 695 | _GL_WARN_ON_USE (grantpt, "grantpt is not portable - " | 685 | _GL_WARN_ON_USE (grantpt, "grantpt is not portable - " |
| 696 | "use gnulib module grantpt for portability"); | 686 | "use gnulib module grantpt for portability"); |
| @@ -751,7 +741,6 @@ _GL_FUNCDECL_SYS (malloc, void *, | |||
| 751 | # endif | 741 | # endif |
| 752 | # endif | 742 | # endif |
| 753 | # if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC | 743 | # if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC |
| 754 | # undef malloc | ||
| 755 | /* Assume malloc is always declared. */ | 744 | /* Assume malloc is always declared. */ |
| 756 | _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " | 745 | _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " |
| 757 | "use gnulib module malloc-posix for portability"); | 746 | "use gnulib module malloc-posix for portability"); |
| @@ -802,7 +791,6 @@ _GL_CXXALIAS_SYS (mbstowcs, size_t, | |||
| 802 | _GL_CXXALIASWARN (mbstowcs); | 791 | _GL_CXXALIASWARN (mbstowcs); |
| 803 | # endif | 792 | # endif |
| 804 | #elif defined GNULIB_POSIXCHECK | 793 | #elif defined GNULIB_POSIXCHECK |
| 805 | # undef mbstowcs | ||
| 806 | # if HAVE_RAW_DECL_MBSTOWCS | 794 | # if HAVE_RAW_DECL_MBSTOWCS |
| 807 | _GL_WARN_ON_USE (mbstowcs, "mbstowcs is unportable - " | 795 | _GL_WARN_ON_USE (mbstowcs, "mbstowcs is unportable - " |
| 808 | "use gnulib module mbstowcs for portability"); | 796 | "use gnulib module mbstowcs for portability"); |
| @@ -832,7 +820,6 @@ _GL_CXXALIAS_SYS (mbtowc, int, | |||
| 832 | _GL_CXXALIASWARN (mbtowc); | 820 | _GL_CXXALIASWARN (mbtowc); |
| 833 | # endif | 821 | # endif |
| 834 | #elif defined GNULIB_POSIXCHECK | 822 | #elif defined GNULIB_POSIXCHECK |
| 835 | # undef mbtowc | ||
| 836 | # if HAVE_RAW_DECL_MBTOWC | 823 | # if HAVE_RAW_DECL_MBTOWC |
| 837 | _GL_WARN_ON_USE (mbtowc, "mbtowc is not portable - " | 824 | _GL_WARN_ON_USE (mbtowc, "mbtowc is not portable - " |
| 838 | "use gnulib module mbtowc for portability"); | 825 | "use gnulib module mbtowc for portability"); |
| @@ -853,7 +840,6 @@ _GL_FUNCDECL_SYS (mkdtemp, char *, | |||
| 853 | _GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); | 840 | _GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); |
| 854 | _GL_CXXALIASWARN (mkdtemp); | 841 | _GL_CXXALIASWARN (mkdtemp); |
| 855 | #elif defined GNULIB_POSIXCHECK | 842 | #elif defined GNULIB_POSIXCHECK |
| 856 | # undef mkdtemp | ||
| 857 | # if HAVE_RAW_DECL_MKDTEMP | 843 | # if HAVE_RAW_DECL_MKDTEMP |
| 858 | _GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " | 844 | _GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " |
| 859 | "use gnulib module mkdtemp for portability"); | 845 | "use gnulib module mkdtemp for portability"); |
| @@ -892,7 +878,6 @@ _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)); | |||
| 892 | _GL_CXXALIASWARN (mkostemp); | 878 | _GL_CXXALIASWARN (mkostemp); |
| 893 | # endif | 879 | # endif |
| 894 | #elif defined GNULIB_POSIXCHECK | 880 | #elif defined GNULIB_POSIXCHECK |
| 895 | # undef mkostemp | ||
| 896 | # if HAVE_RAW_DECL_MKOSTEMP | 881 | # if HAVE_RAW_DECL_MKOSTEMP |
| 897 | _GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " | 882 | _GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " |
| 898 | "use gnulib module mkostemp for portability"); | 883 | "use gnulib module mkostemp for portability"); |
| @@ -936,7 +921,6 @@ _GL_CXXALIAS_SYS (mkostemps, int, | |||
| 936 | _GL_CXXALIASWARN (mkostemps); | 921 | _GL_CXXALIASWARN (mkostemps); |
| 937 | # endif | 922 | # endif |
| 938 | #elif defined GNULIB_POSIXCHECK | 923 | #elif defined GNULIB_POSIXCHECK |
| 939 | # undef mkostemps | ||
| 940 | # if HAVE_RAW_DECL_MKOSTEMPS | 924 | # if HAVE_RAW_DECL_MKOSTEMPS |
| 941 | _GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " | 925 | _GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " |
| 942 | "use gnulib module mkostemps for portability"); | 926 | "use gnulib module mkostemps for portability"); |
| @@ -969,7 +953,6 @@ _GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); | |||
| 969 | # endif | 953 | # endif |
| 970 | _GL_CXXALIASWARN (mkstemp); | 954 | _GL_CXXALIASWARN (mkstemp); |
| 971 | #elif defined GNULIB_POSIXCHECK | 955 | #elif defined GNULIB_POSIXCHECK |
| 972 | # undef mkstemp | ||
| 973 | # if HAVE_RAW_DECL_MKSTEMP | 956 | # if HAVE_RAW_DECL_MKSTEMP |
| 974 | _GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " | 957 | _GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " |
| 975 | "use gnulib module mkstemp for portability"); | 958 | "use gnulib module mkstemp for portability"); |
| @@ -994,7 +977,6 @@ _GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/), | |||
| 994 | _GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); | 977 | _GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); |
| 995 | _GL_CXXALIASWARN (mkstemps); | 978 | _GL_CXXALIASWARN (mkstemps); |
| 996 | #elif defined GNULIB_POSIXCHECK | 979 | #elif defined GNULIB_POSIXCHECK |
| 997 | # undef mkstemps | ||
| 998 | # if HAVE_RAW_DECL_MKSTEMPS | 980 | # if HAVE_RAW_DECL_MKSTEMPS |
| 999 | _GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " | 981 | _GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " |
| 1000 | "use gnulib module mkstemps for portability"); | 982 | "use gnulib module mkstemps for portability"); |
| @@ -1039,7 +1021,6 @@ _GL_CXXALIAS_SYS (posix_memalign, int, | |||
| 1039 | _GL_CXXALIASWARN (posix_memalign); | 1021 | _GL_CXXALIASWARN (posix_memalign); |
| 1040 | # endif | 1022 | # endif |
| 1041 | #elif defined GNULIB_POSIXCHECK | 1023 | #elif defined GNULIB_POSIXCHECK |
| 1042 | # undef posix_memalign | ||
| 1043 | # if HAVE_RAW_DECL_POSIX_MEMALIGN | 1024 | # if HAVE_RAW_DECL_POSIX_MEMALIGN |
| 1044 | _GL_WARN_ON_USE (posix_memalign, "posix_memalign is not portable - " | 1025 | _GL_WARN_ON_USE (posix_memalign, "posix_memalign is not portable - " |
| 1045 | "use gnulib module posix_memalign for portability"); | 1026 | "use gnulib module posix_memalign for portability"); |
| @@ -1066,7 +1047,6 @@ _GL_CXXALIAS_SYS (posix_openpt, int, (int flags)); | |||
| 1066 | _GL_CXXALIASWARN (posix_openpt); | 1047 | _GL_CXXALIASWARN (posix_openpt); |
| 1067 | # endif | 1048 | # endif |
| 1068 | #elif defined GNULIB_POSIXCHECK | 1049 | #elif defined GNULIB_POSIXCHECK |
| 1069 | # undef posix_openpt | ||
| 1070 | # if HAVE_RAW_DECL_POSIX_OPENPT | 1050 | # if HAVE_RAW_DECL_POSIX_OPENPT |
| 1071 | _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " | 1051 | _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " |
| 1072 | "use gnulib module posix_openpt for portability"); | 1052 | "use gnulib module posix_openpt for portability"); |
| @@ -1091,7 +1071,6 @@ _GL_CXXALIAS_SYS (ptsname, char *, (int fd)); | |||
| 1091 | # endif | 1071 | # endif |
| 1092 | _GL_CXXALIASWARN (ptsname); | 1072 | _GL_CXXALIASWARN (ptsname); |
| 1093 | #elif defined GNULIB_POSIXCHECK | 1073 | #elif defined GNULIB_POSIXCHECK |
| 1094 | # undef ptsname | ||
| 1095 | # if HAVE_RAW_DECL_PTSNAME | 1074 | # if HAVE_RAW_DECL_PTSNAME |
| 1096 | _GL_WARN_ON_USE (ptsname, "ptsname is not portable - " | 1075 | _GL_WARN_ON_USE (ptsname, "ptsname is not portable - " |
| 1097 | "use gnulib module ptsname for portability"); | 1076 | "use gnulib module ptsname for portability"); |
| @@ -1120,7 +1099,6 @@ _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); | |||
| 1120 | # endif | 1099 | # endif |
| 1121 | _GL_CXXALIASWARN (ptsname_r); | 1100 | _GL_CXXALIASWARN (ptsname_r); |
| 1122 | #elif defined GNULIB_POSIXCHECK | 1101 | #elif defined GNULIB_POSIXCHECK |
| 1123 | # undef ptsname_r | ||
| 1124 | # if HAVE_RAW_DECL_PTSNAME_R | 1102 | # if HAVE_RAW_DECL_PTSNAME_R |
| 1125 | _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - " | 1103 | _GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - " |
| 1126 | "use gnulib module ptsname_r for portability"); | 1104 | "use gnulib module ptsname_r for portability"); |
| @@ -1214,7 +1192,6 @@ _GL_CXXALIAS_SYS (qsort_r, void, (void *base, size_t nmemb, size_t size, | |||
| 1214 | _GL_CXXALIASWARN (qsort_r); | 1192 | _GL_CXXALIASWARN (qsort_r); |
| 1215 | # endif | 1193 | # endif |
| 1216 | #elif defined GNULIB_POSIXCHECK | 1194 | #elif defined GNULIB_POSIXCHECK |
| 1217 | # undef qsort_r | ||
| 1218 | # if HAVE_RAW_DECL_QSORT_R | 1195 | # if HAVE_RAW_DECL_QSORT_R |
| 1219 | _GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - " | 1196 | _GL_WARN_ON_USE (qsort_r, "qsort_r is not portable - " |
| 1220 | "use gnulib module qsort_r for portability"); | 1197 | "use gnulib module qsort_r for portability"); |
| @@ -1266,7 +1243,6 @@ _GL_CXXALIAS_SYS_CAST (random, long, (void)); | |||
| 1266 | _GL_CXXALIASWARN (random); | 1243 | _GL_CXXALIASWARN (random); |
| 1267 | # endif | 1244 | # endif |
| 1268 | #elif defined GNULIB_POSIXCHECK | 1245 | #elif defined GNULIB_POSIXCHECK |
| 1269 | # undef random | ||
| 1270 | # if HAVE_RAW_DECL_RANDOM | 1246 | # if HAVE_RAW_DECL_RANDOM |
| 1271 | _GL_WARN_ON_USE (random, "random is unportable - " | 1247 | _GL_WARN_ON_USE (random, "random is unportable - " |
| 1272 | "use gnulib module random for portability"); | 1248 | "use gnulib module random for portability"); |
| @@ -1293,7 +1269,6 @@ _GL_CXXALIAS_SYS_CAST (srandom, void, (unsigned int seed)); | |||
| 1293 | _GL_CXXALIASWARN (srandom); | 1269 | _GL_CXXALIASWARN (srandom); |
| 1294 | # endif | 1270 | # endif |
| 1295 | #elif defined GNULIB_POSIXCHECK | 1271 | #elif defined GNULIB_POSIXCHECK |
| 1296 | # undef srandom | ||
| 1297 | # if HAVE_RAW_DECL_SRANDOM | 1272 | # if HAVE_RAW_DECL_SRANDOM |
| 1298 | _GL_WARN_ON_USE (srandom, "srandom is unportable - " | 1273 | _GL_WARN_ON_USE (srandom, "srandom is unportable - " |
| 1299 | "use gnulib module random for portability"); | 1274 | "use gnulib module random for portability"); |
| @@ -1326,7 +1301,6 @@ _GL_CXXALIAS_SYS_CAST (initstate, char *, | |||
| 1326 | _GL_CXXALIASWARN (initstate); | 1301 | _GL_CXXALIASWARN (initstate); |
| 1327 | # endif | 1302 | # endif |
| 1328 | #elif defined GNULIB_POSIXCHECK | 1303 | #elif defined GNULIB_POSIXCHECK |
| 1329 | # undef initstate | ||
| 1330 | # if HAVE_RAW_DECL_INITSTATE | 1304 | # if HAVE_RAW_DECL_INITSTATE |
| 1331 | _GL_WARN_ON_USE (initstate, "initstate is unportable - " | 1305 | _GL_WARN_ON_USE (initstate, "initstate is unportable - " |
| 1332 | "use gnulib module random for portability"); | 1306 | "use gnulib module random for portability"); |
| @@ -1353,7 +1327,6 @@ _GL_CXXALIAS_SYS_CAST (setstate, char *, (char *arg_state)); | |||
| 1353 | _GL_CXXALIASWARN (setstate); | 1327 | _GL_CXXALIASWARN (setstate); |
| 1354 | # endif | 1328 | # endif |
| 1355 | #elif defined GNULIB_POSIXCHECK | 1329 | #elif defined GNULIB_POSIXCHECK |
| 1356 | # undef setstate | ||
| 1357 | # if HAVE_RAW_DECL_SETSTATE | 1330 | # if HAVE_RAW_DECL_SETSTATE |
| 1358 | _GL_WARN_ON_USE (setstate, "setstate is unportable - " | 1331 | _GL_WARN_ON_USE (setstate, "setstate is unportable - " |
| 1359 | "use gnulib module random for portability"); | 1332 | "use gnulib module random for portability"); |
| @@ -1379,7 +1352,6 @@ _GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); | |||
| 1379 | # endif | 1352 | # endif |
| 1380 | _GL_CXXALIASWARN (random_r); | 1353 | _GL_CXXALIASWARN (random_r); |
| 1381 | #elif defined GNULIB_POSIXCHECK | 1354 | #elif defined GNULIB_POSIXCHECK |
| 1382 | # undef random_r | ||
| 1383 | # if HAVE_RAW_DECL_RANDOM_R | 1355 | # if HAVE_RAW_DECL_RANDOM_R |
| 1384 | _GL_WARN_ON_USE (random_r, "random_r is unportable - " | 1356 | _GL_WARN_ON_USE (random_r, "random_r is unportable - " |
| 1385 | "use gnulib module random_r for portability"); | 1357 | "use gnulib module random_r for portability"); |
| @@ -1408,7 +1380,6 @@ _GL_CXXALIAS_SYS (srandom_r, int, | |||
| 1408 | # endif | 1380 | # endif |
| 1409 | _GL_CXXALIASWARN (srandom_r); | 1381 | _GL_CXXALIASWARN (srandom_r); |
| 1410 | #elif defined GNULIB_POSIXCHECK | 1382 | #elif defined GNULIB_POSIXCHECK |
| 1411 | # undef srandom_r | ||
| 1412 | # if HAVE_RAW_DECL_SRANDOM_R | 1383 | # if HAVE_RAW_DECL_SRANDOM_R |
| 1413 | _GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " | 1384 | _GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " |
| 1414 | "use gnulib module random_r for portability"); | 1385 | "use gnulib module random_r for portability"); |
| @@ -1443,7 +1414,6 @@ _GL_CXXALIAS_SYS_CAST (initstate_r, int, | |||
| 1443 | # endif | 1414 | # endif |
| 1444 | _GL_CXXALIASWARN (initstate_r); | 1415 | _GL_CXXALIASWARN (initstate_r); |
| 1445 | #elif defined GNULIB_POSIXCHECK | 1416 | #elif defined GNULIB_POSIXCHECK |
| 1446 | # undef initstate_r | ||
| 1447 | # if HAVE_RAW_DECL_INITSTATE_R | 1417 | # if HAVE_RAW_DECL_INITSTATE_R |
| 1448 | _GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " | 1418 | _GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " |
| 1449 | "use gnulib module random_r for portability"); | 1419 | "use gnulib module random_r for portability"); |
| @@ -1474,7 +1444,6 @@ _GL_CXXALIAS_SYS_CAST (setstate_r, int, | |||
| 1474 | # endif | 1444 | # endif |
| 1475 | _GL_CXXALIASWARN (setstate_r); | 1445 | _GL_CXXALIASWARN (setstate_r); |
| 1476 | #elif defined GNULIB_POSIXCHECK | 1446 | #elif defined GNULIB_POSIXCHECK |
| 1477 | # undef setstate_r | ||
| 1478 | # if HAVE_RAW_DECL_SETSTATE_R | 1447 | # if HAVE_RAW_DECL_SETSTATE_R |
| 1479 | _GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " | 1448 | _GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " |
| 1480 | "use gnulib module random_r for portability"); | 1449 | "use gnulib module random_r for portability"); |
| @@ -1544,7 +1513,6 @@ _GL_FUNCDECL_SYS (realloc, void *, | |||
| 1544 | # endif | 1513 | # endif |
| 1545 | # endif | 1514 | # endif |
| 1546 | # if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC | 1515 | # if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC |
| 1547 | # undef realloc | ||
| 1548 | /* Assume realloc is always declared. */ | 1516 | /* Assume realloc is always declared. */ |
| 1549 | _GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " | 1517 | _GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " |
| 1550 | "use gnulib module realloc-posix for portability"); | 1518 | "use gnulib module realloc-posix for portability"); |
| @@ -1576,7 +1544,6 @@ _GL_CXXALIAS_SYS (reallocarray, void *, | |||
| 1576 | _GL_CXXALIASWARN (reallocarray); | 1544 | _GL_CXXALIASWARN (reallocarray); |
| 1577 | # endif | 1545 | # endif |
| 1578 | #elif defined GNULIB_POSIXCHECK | 1546 | #elif defined GNULIB_POSIXCHECK |
| 1579 | # undef reallocarray | ||
| 1580 | # if HAVE_RAW_DECL_REALLOCARRAY | 1547 | # if HAVE_RAW_DECL_REALLOCARRAY |
| 1581 | _GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " | 1548 | _GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " |
| 1582 | "use gnulib module reallocarray for portability"); | 1549 | "use gnulib module reallocarray for portability"); |
| @@ -1604,7 +1571,6 @@ _GL_CXXALIAS_SYS (realpath, char *, | |||
| 1604 | # endif | 1571 | # endif |
| 1605 | _GL_CXXALIASWARN (realpath); | 1572 | _GL_CXXALIASWARN (realpath); |
| 1606 | #elif defined GNULIB_POSIXCHECK | 1573 | #elif defined GNULIB_POSIXCHECK |
| 1607 | # undef realpath | ||
| 1608 | # if HAVE_RAW_DECL_REALPATH | 1574 | # if HAVE_RAW_DECL_REALPATH |
| 1609 | _GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " | 1575 | _GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " |
| 1610 | "canonicalize or canonicalize-lgpl for portability"); | 1576 | "canonicalize or canonicalize-lgpl for portability"); |
| @@ -1621,7 +1587,6 @@ _GL_FUNCDECL_SYS (rpmatch, int, (const char *response), | |||
| 1621 | _GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); | 1587 | _GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); |
| 1622 | _GL_CXXALIASWARN (rpmatch); | 1588 | _GL_CXXALIASWARN (rpmatch); |
| 1623 | #elif defined GNULIB_POSIXCHECK | 1589 | #elif defined GNULIB_POSIXCHECK |
| 1624 | # undef rpmatch | ||
| 1625 | # if HAVE_RAW_DECL_RPMATCH | 1590 | # if HAVE_RAW_DECL_RPMATCH |
| 1626 | _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " | 1591 | _GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " |
| 1627 | "use gnulib module rpmatch for portability"); | 1592 | "use gnulib module rpmatch for portability"); |
| @@ -1638,7 +1603,6 @@ _GL_FUNCDECL_SYS (secure_getenv, char *, | |||
| 1638 | _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); | 1603 | _GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); |
| 1639 | _GL_CXXALIASWARN (secure_getenv); | 1604 | _GL_CXXALIASWARN (secure_getenv); |
| 1640 | #elif defined GNULIB_POSIXCHECK | 1605 | #elif defined GNULIB_POSIXCHECK |
| 1641 | # undef secure_getenv | ||
| 1642 | # if HAVE_RAW_DECL_SECURE_GETENV | 1606 | # if HAVE_RAW_DECL_SECURE_GETENV |
| 1643 | _GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - " | 1607 | _GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - " |
| 1644 | "use gnulib module secure_getenv for portability"); | 1608 | "use gnulib module secure_getenv for portability"); |
| @@ -1671,7 +1635,6 @@ _GL_CXXALIAS_SYS (setenv, int, | |||
| 1671 | _GL_CXXALIASWARN (setenv); | 1635 | _GL_CXXALIASWARN (setenv); |
| 1672 | # endif | 1636 | # endif |
| 1673 | #elif defined GNULIB_POSIXCHECK | 1637 | #elif defined GNULIB_POSIXCHECK |
| 1674 | # undef setenv | ||
| 1675 | # if HAVE_RAW_DECL_SETENV | 1638 | # if HAVE_RAW_DECL_SETENV |
| 1676 | _GL_WARN_ON_USE (setenv, "setenv is unportable - " | 1639 | _GL_WARN_ON_USE (setenv, "setenv is unportable - " |
| 1677 | "use gnulib module setenv for portability"); | 1640 | "use gnulib module setenv for portability"); |
| @@ -1716,7 +1679,6 @@ _GL_CXXALIAS_SYS (strtod, double, | |||
| 1716 | _GL_CXXALIASWARN (strtod); | 1679 | _GL_CXXALIASWARN (strtod); |
| 1717 | # endif | 1680 | # endif |
| 1718 | #elif defined GNULIB_POSIXCHECK | 1681 | #elif defined GNULIB_POSIXCHECK |
| 1719 | # undef strtod | ||
| 1720 | # if HAVE_RAW_DECL_STRTOD | 1682 | # if HAVE_RAW_DECL_STRTOD |
| 1721 | _GL_WARN_ON_USE (strtod, "strtod is unportable - " | 1683 | _GL_WARN_ON_USE (strtod, "strtod is unportable - " |
| 1722 | "use gnulib module strtod for portability"); | 1684 | "use gnulib module strtod for portability"); |
| @@ -1748,7 +1710,6 @@ _GL_CXXALIAS_SYS (strtof, float, | |||
| 1748 | _GL_CXXALIASWARN (strtof); | 1710 | _GL_CXXALIASWARN (strtof); |
| 1749 | # endif | 1711 | # endif |
| 1750 | #elif defined GNULIB_POSIXCHECK | 1712 | #elif defined GNULIB_POSIXCHECK |
| 1751 | # undef strtof | ||
| 1752 | # if HAVE_RAW_DECL_STRTOF | 1713 | # if HAVE_RAW_DECL_STRTOF |
| 1753 | _GL_WARN_ON_USE (strtof, "strtof is unportable - " | 1714 | _GL_WARN_ON_USE (strtof, "strtof is unportable - " |
| 1754 | "use gnulib module strtof for portability"); | 1715 | "use gnulib module strtof for portability"); |
| @@ -1778,7 +1739,6 @@ _GL_CXXALIAS_SYS (strtold, long double, | |||
| 1778 | # endif | 1739 | # endif |
| 1779 | _GL_CXXALIASWARN (strtold); | 1740 | _GL_CXXALIASWARN (strtold); |
| 1780 | #elif defined GNULIB_POSIXCHECK | 1741 | #elif defined GNULIB_POSIXCHECK |
| 1781 | # undef strtold | ||
| 1782 | # if HAVE_RAW_DECL_STRTOLD | 1742 | # if HAVE_RAW_DECL_STRTOLD |
| 1783 | _GL_WARN_ON_USE (strtold, "strtold is unportable - " | 1743 | _GL_WARN_ON_USE (strtold, "strtold is unportable - " |
| 1784 | "use gnulib module strtold for portability"); | 1744 | "use gnulib module strtold for portability"); |
| @@ -1821,7 +1781,6 @@ _GL_CXXALIAS_SYS (strtol, long, | |||
| 1821 | _GL_CXXALIASWARN (strtol); | 1781 | _GL_CXXALIASWARN (strtol); |
| 1822 | # endif | 1782 | # endif |
| 1823 | #elif defined GNULIB_POSIXCHECK | 1783 | #elif defined GNULIB_POSIXCHECK |
| 1824 | # undef strtol | ||
| 1825 | # if HAVE_RAW_DECL_STRTOL | 1784 | # if HAVE_RAW_DECL_STRTOL |
| 1826 | _GL_WARN_ON_USE (strtol, "strtol is unportable - " | 1785 | _GL_WARN_ON_USE (strtol, "strtol is unportable - " |
| 1827 | "use gnulib module strtol for portability"); | 1786 | "use gnulib module strtol for portability"); |
| @@ -1862,7 +1821,6 @@ _GL_CXXALIAS_SYS (strtoll, long long, | |||
| 1862 | # endif | 1821 | # endif |
| 1863 | _GL_CXXALIASWARN (strtoll); | 1822 | _GL_CXXALIASWARN (strtoll); |
| 1864 | #elif defined GNULIB_POSIXCHECK | 1823 | #elif defined GNULIB_POSIXCHECK |
| 1865 | # undef strtoll | ||
| 1866 | # if HAVE_RAW_DECL_STRTOLL | 1824 | # if HAVE_RAW_DECL_STRTOLL |
| 1867 | _GL_WARN_ON_USE (strtoll, "strtoll is unportable - " | 1825 | _GL_WARN_ON_USE (strtoll, "strtoll is unportable - " |
| 1868 | "use gnulib module strtoll for portability"); | 1826 | "use gnulib module strtoll for portability"); |
| @@ -1904,7 +1862,6 @@ _GL_CXXALIAS_SYS (strtoul, unsigned long, | |||
| 1904 | _GL_CXXALIASWARN (strtoul); | 1862 | _GL_CXXALIASWARN (strtoul); |
| 1905 | # endif | 1863 | # endif |
| 1906 | #elif defined GNULIB_POSIXCHECK | 1864 | #elif defined GNULIB_POSIXCHECK |
| 1907 | # undef strtoul | ||
| 1908 | # if HAVE_RAW_DECL_STRTOUL | 1865 | # if HAVE_RAW_DECL_STRTOUL |
| 1909 | _GL_WARN_ON_USE (strtoul, "strtoul is unportable - " | 1866 | _GL_WARN_ON_USE (strtoul, "strtoul is unportable - " |
| 1910 | "use gnulib module strtoul for portability"); | 1867 | "use gnulib module strtoul for portability"); |
| @@ -1945,7 +1902,6 @@ _GL_CXXALIAS_SYS (strtoull, unsigned long long, | |||
| 1945 | # endif | 1902 | # endif |
| 1946 | _GL_CXXALIASWARN (strtoull); | 1903 | _GL_CXXALIASWARN (strtoull); |
| 1947 | #elif defined GNULIB_POSIXCHECK | 1904 | #elif defined GNULIB_POSIXCHECK |
| 1948 | # undef strtoull | ||
| 1949 | # if HAVE_RAW_DECL_STRTOULL | 1905 | # if HAVE_RAW_DECL_STRTOULL |
| 1950 | _GL_WARN_ON_USE (strtoull, "strtoull is unportable - " | 1906 | _GL_WARN_ON_USE (strtoull, "strtoull is unportable - " |
| 1951 | "use gnulib module strtoull for portability"); | 1907 | "use gnulib module strtoull for portability"); |
| @@ -1961,7 +1917,6 @@ _GL_FUNCDECL_SYS (unlockpt, int, (int fd), ); | |||
| 1961 | _GL_CXXALIAS_SYS (unlockpt, int, (int fd)); | 1917 | _GL_CXXALIAS_SYS (unlockpt, int, (int fd)); |
| 1962 | _GL_CXXALIASWARN (unlockpt); | 1918 | _GL_CXXALIASWARN (unlockpt); |
| 1963 | #elif defined GNULIB_POSIXCHECK | 1919 | #elif defined GNULIB_POSIXCHECK |
| 1964 | # undef unlockpt | ||
| 1965 | # if HAVE_RAW_DECL_UNLOCKPT | 1920 | # if HAVE_RAW_DECL_UNLOCKPT |
| 1966 | _GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " | 1921 | _GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " |
| 1967 | "use gnulib module unlockpt for portability"); | 1922 | "use gnulib module unlockpt for portability"); |
| @@ -1987,7 +1942,6 @@ _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); | |||
| 1987 | _GL_CXXALIASWARN (unsetenv); | 1942 | _GL_CXXALIASWARN (unsetenv); |
| 1988 | # endif | 1943 | # endif |
| 1989 | #elif defined GNULIB_POSIXCHECK | 1944 | #elif defined GNULIB_POSIXCHECK |
| 1990 | # undef unsetenv | ||
| 1991 | # if HAVE_RAW_DECL_UNSETENV | 1945 | # if HAVE_RAW_DECL_UNSETENV |
| 1992 | _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " | 1946 | _GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " |
| 1993 | "use gnulib module unsetenv for portability"); | 1947 | "use gnulib module unsetenv for portability"); |