aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.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/string.in.h
parent16a70518880ef8f54bd853020f1606d3abf04d8e (diff)
downloademacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.tar.gz
emacs-8cdc8a51efdcaefe3632370e7c3ce9c0cfe77e9d.zip
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/string.in.h')
-rw-r--r--lib/string.in.h53
1 files changed, 12 insertions, 41 deletions
diff --git a/lib/string.in.h b/lib/string.in.h
index fdcdd21bed6..a323b1cd6da 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -312,7 +312,6 @@ _GL_FUNCDECL_SYS (explicit_bzero, void,
312_GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n)); 312_GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n));
313_GL_CXXALIASWARN (explicit_bzero); 313_GL_CXXALIASWARN (explicit_bzero);
314#elif defined GNULIB_POSIXCHECK 314#elif defined GNULIB_POSIXCHECK
315# undef explicit_bzero
316# if HAVE_RAW_DECL_EXPLICIT_BZERO 315# if HAVE_RAW_DECL_EXPLICIT_BZERO
317_GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - " 316_GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - "
318 "use gnulib module explicit_bzero for portability"); 317 "use gnulib module explicit_bzero for portability");
@@ -328,7 +327,6 @@ _GL_FUNCDECL_SYS (ffsl, int, (long int i), );
328_GL_CXXALIAS_SYS (ffsl, int, (long int i)); 327_GL_CXXALIAS_SYS (ffsl, int, (long int i));
329_GL_CXXALIASWARN (ffsl); 328_GL_CXXALIASWARN (ffsl);
330#elif defined GNULIB_POSIXCHECK 329#elif defined GNULIB_POSIXCHECK
331# undef ffsl
332# if HAVE_RAW_DECL_FFSL 330# if HAVE_RAW_DECL_FFSL
333_GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module"); 331_GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module");
334# endif 332# endif
@@ -351,7 +349,6 @@ _GL_CXXALIAS_SYS (ffsll, int, (long long int i));
351# endif 349# endif
352_GL_CXXALIASWARN (ffsll); 350_GL_CXXALIASWARN (ffsll);
353#elif defined GNULIB_POSIXCHECK 351#elif defined GNULIB_POSIXCHECK
354# undef ffsll
355# if HAVE_RAW_DECL_FFSLL 352# if HAVE_RAW_DECL_FFSLL
356_GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module"); 353_GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module");
357# endif 354# endif
@@ -409,10 +406,11 @@ _GL_CXXALIASWARN1 (memchr, void const *,
409_GL_CXXALIASWARN (memchr); 406_GL_CXXALIASWARN (memchr);
410# endif 407# endif
411#elif defined GNULIB_POSIXCHECK 408#elif defined GNULIB_POSIXCHECK
412# undef memchr
413/* Assume memchr is always declared. */ 409/* Assume memchr is always declared. */
414_GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " 410_GL_WARN_ON_USE_CXX (memchr,
415 "use gnulib module memchr for portability" ); 411 const void *, void *, (void const *, int, size_t),
412 "memchr has platform-specific bugs - "
413 "use gnulib module memchr for portability" );
416#endif 414#endif
417 415
418/* Are S1 and S2, of size N, bytewise equal? */ 416/* Are S1 and S2, of size N, bytewise equal? */
@@ -458,7 +456,6 @@ _GL_CXXALIAS_SYS (memmem, void *,
458# endif 456# endif
459_GL_CXXALIASWARN (memmem); 457_GL_CXXALIASWARN (memmem);
460#elif defined GNULIB_POSIXCHECK 458#elif defined GNULIB_POSIXCHECK
461# undef memmem
462# if HAVE_RAW_DECL_MEMMEM 459# if HAVE_RAW_DECL_MEMMEM
463_GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - " 460_GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - "
464 "use gnulib module memmem-simple for portability, " 461 "use gnulib module memmem-simple for portability, "
@@ -496,7 +493,6 @@ _GL_CXXALIAS_SYS (mempcpy, void *,
496_GL_CXXALIASWARN (mempcpy); 493_GL_CXXALIASWARN (mempcpy);
497# endif 494# endif
498#elif defined GNULIB_POSIXCHECK 495#elif defined GNULIB_POSIXCHECK
499# undef mempcpy
500# if HAVE_RAW_DECL_MEMPCPY 496# if HAVE_RAW_DECL_MEMPCPY
501_GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " 497_GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - "
502 "use gnulib module mempcpy for portability"); 498 "use gnulib module mempcpy for portability");
@@ -529,7 +525,6 @@ _GL_CXXALIASWARN1 (memrchr, void const *,
529_GL_CXXALIASWARN (memrchr); 525_GL_CXXALIASWARN (memrchr);
530# endif 526# endif
531#elif defined GNULIB_POSIXCHECK 527#elif defined GNULIB_POSIXCHECK
532# undef memrchr
533# if HAVE_RAW_DECL_MEMRCHR 528# if HAVE_RAW_DECL_MEMRCHR
534_GL_WARN_ON_USE (memrchr, "memrchr is unportable - " 529_GL_WARN_ON_USE (memrchr, "memrchr is unportable - "
535 "use gnulib module memrchr for portability"); 530 "use gnulib module memrchr for portability");
@@ -560,7 +555,6 @@ _GL_CXXALIAS_SYS (memset_explicit, void *, (void *__dest, int __c, size_t __n));
560_GL_CXXALIASWARN (memset_explicit); 555_GL_CXXALIASWARN (memset_explicit);
561# endif 556# endif
562#elif defined GNULIB_POSIXCHECK 557#elif defined GNULIB_POSIXCHECK
563# undef memset_explicit
564# if HAVE_RAW_DECL_MEMSET_EXPLICIT 558# if HAVE_RAW_DECL_MEMSET_EXPLICIT
565_GL_WARN_ON_USE (memset_explicit, "memset_explicit is unportable - " 559_GL_WARN_ON_USE (memset_explicit, "memset_explicit is unportable - "
566 "use gnulib module memset_explicit for portability"); 560 "use gnulib module memset_explicit for portability");
@@ -595,7 +589,6 @@ _GL_CXXALIASWARN1 (rawmemchr, void const *,
595_GL_CXXALIASWARN (rawmemchr); 589_GL_CXXALIASWARN (rawmemchr);
596# endif 590# endif
597#elif defined GNULIB_POSIXCHECK 591#elif defined GNULIB_POSIXCHECK
598# undef rawmemchr
599# if HAVE_RAW_DECL_RAWMEMCHR 592# if HAVE_RAW_DECL_RAWMEMCHR
600_GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - " 593_GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - "
601 "use gnulib module rawmemchr for portability"); 594 "use gnulib module rawmemchr for portability");
@@ -627,7 +620,6 @@ _GL_CXXALIAS_SYS (stpcpy, char *,
627_GL_CXXALIASWARN (stpcpy); 620_GL_CXXALIASWARN (stpcpy);
628# endif 621# endif
629#elif defined GNULIB_POSIXCHECK 622#elif defined GNULIB_POSIXCHECK
630# undef stpcpy
631# if HAVE_RAW_DECL_STPCPY 623# if HAVE_RAW_DECL_STPCPY
632_GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - " 624_GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - "
633 "use gnulib module stpcpy for portability"); 625 "use gnulib module stpcpy for portability");
@@ -664,7 +656,6 @@ _GL_CXXALIAS_SYS (stpncpy, char *,
664_GL_CXXALIASWARN (stpncpy); 656_GL_CXXALIASWARN (stpncpy);
665# endif 657# endif
666#elif defined GNULIB_POSIXCHECK 658#elif defined GNULIB_POSIXCHECK
667# undef stpncpy
668# if HAVE_RAW_DECL_STPNCPY 659# if HAVE_RAW_DECL_STPNCPY
669_GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " 660_GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - "
670 "use gnulib module stpncpy for portability"); 661 "use gnulib module stpncpy for portability");
@@ -674,7 +665,6 @@ _GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - "
674#if defined GNULIB_POSIXCHECK 665#if defined GNULIB_POSIXCHECK
675/* strchr() does not work with multibyte strings if the locale encoding is 666/* strchr() does not work with multibyte strings if the locale encoding is
676 GB18030 and the character to be searched is a digit. */ 667 GB18030 and the character to be searched is a digit. */
677# undef strchr
678/* Assume strchr is always declared. */ 668/* Assume strchr is always declared. */
679_GL_WARN_ON_USE_CXX (strchr, 669_GL_WARN_ON_USE_CXX (strchr,
680 const char *, char *, (const char *, int), 670 const char *, char *, (const char *, int),
@@ -720,7 +710,6 @@ _GL_CXXALIASWARN1 (strchrnul, char const *,
720_GL_CXXALIASWARN (strchrnul); 710_GL_CXXALIASWARN (strchrnul);
721# endif 711# endif
722#elif defined GNULIB_POSIXCHECK 712#elif defined GNULIB_POSIXCHECK
723# undef strchrnul
724# if HAVE_RAW_DECL_STRCHRNUL 713# if HAVE_RAW_DECL_STRCHRNUL
725_GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " 714_GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - "
726 "use gnulib module strchrnul for portability"); 715 "use gnulib module strchrnul for portability");
@@ -785,7 +774,6 @@ _GL_FUNCDECL_SYS (strdup, char *,
785# endif 774# endif
786# endif 775# endif
787# if defined GNULIB_POSIXCHECK 776# if defined GNULIB_POSIXCHECK
788# undef strdup
789# if HAVE_RAW_DECL_STRDUP 777# if HAVE_RAW_DECL_STRDUP
790_GL_WARN_ON_USE (strdup, "strdup is unportable - " 778_GL_WARN_ON_USE (strdup, "strdup is unportable - "
791 "use gnulib module strdup for portability"); 779 "use gnulib module strdup for portability");
@@ -846,7 +834,6 @@ _GL_CXXALIAS_SYS (strncat, char *,
846_GL_CXXALIASWARN (strncat); 834_GL_CXXALIASWARN (strncat);
847# endif 835# endif
848#elif defined GNULIB_POSIXCHECK 836#elif defined GNULIB_POSIXCHECK
849# undef strncat
850# if HAVE_RAW_DECL_STRNCAT 837# if HAVE_RAW_DECL_STRNCAT
851_GL_WARN_ON_USE (strncat, "strncat is unportable - " 838_GL_WARN_ON_USE (strncat, "strncat is unportable - "
852 "use gnulib module strncat for portability"); 839 "use gnulib module strncat for portability");
@@ -901,7 +888,6 @@ _GL_FUNCDECL_SYS (strndup, char *,
901# endif 888# endif
902# endif 889# endif
903# if defined GNULIB_POSIXCHECK 890# if defined GNULIB_POSIXCHECK
904# undef strndup
905# if HAVE_RAW_DECL_STRNDUP 891# if HAVE_RAW_DECL_STRNDUP
906_GL_WARN_ON_USE (strndup, "strndup is unportable - " 892_GL_WARN_ON_USE (strndup, "strndup is unportable - "
907 "use gnulib module strndup for portability"); 893 "use gnulib module strndup for portability");
@@ -932,7 +918,6 @@ _GL_CXXALIAS_SYS (strnlen, size_t, (char const *__s, size_t __maxlen));
932# endif 918# endif
933_GL_CXXALIASWARN (strnlen); 919_GL_CXXALIASWARN (strnlen);
934#elif defined GNULIB_POSIXCHECK 920#elif defined GNULIB_POSIXCHECK
935# undef strnlen
936# if HAVE_RAW_DECL_STRNLEN 921# if HAVE_RAW_DECL_STRNLEN
937_GL_WARN_ON_USE (strnlen, "strnlen is unportable - " 922_GL_WARN_ON_USE (strnlen, "strnlen is unportable - "
938 "use gnulib module strnlen for portability"); 923 "use gnulib module strnlen for portability");
@@ -944,7 +929,6 @@ _GL_WARN_ON_USE (strnlen, "strnlen is unportable - "
944 Even in this simple case, it does not work with multibyte strings if the 929 Even in this simple case, it does not work with multibyte strings if the
945 locale encoding is GB18030 and one of the characters to be searched is a 930 locale encoding is GB18030 and one of the characters to be searched is a
946 digit. */ 931 digit. */
947# undef strcspn
948/* Assume strcspn is always declared. */ 932/* Assume strcspn is always declared. */
949_GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings " 933_GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings "
950 "in multibyte locales - " 934 "in multibyte locales - "
@@ -981,7 +965,6 @@ _GL_CXXALIASWARN (strpbrk);
981 Even in this simple case, it does not work with multibyte strings if the 965 Even in this simple case, it does not work with multibyte strings if the
982 locale encoding is GB18030 and one of the characters to be searched is a 966 locale encoding is GB18030 and one of the characters to be searched is a
983 digit. */ 967 digit. */
984# undef strpbrk
985_GL_WARN_ON_USE_CXX (strpbrk, 968_GL_WARN_ON_USE_CXX (strpbrk,
986 const char *, char *, (const char *, const char *), 969 const char *, char *, (const char *, const char *),
987 "strpbrk cannot work correctly on character strings " 970 "strpbrk cannot work correctly on character strings "
@@ -1001,7 +984,6 @@ _GL_WARN_ON_USE_CXX (strpbrk,
1001#if defined GNULIB_POSIXCHECK 984#if defined GNULIB_POSIXCHECK
1002/* strspn() assumes the second argument is a list of single-byte characters. 985/* strspn() assumes the second argument is a list of single-byte characters.
1003 Even in this simple case, it cannot work with multibyte strings. */ 986 Even in this simple case, it cannot work with multibyte strings. */
1004# undef strspn
1005/* Assume strspn is always declared. */ 987/* Assume strspn is always declared. */
1006_GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " 988_GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
1007 "in multibyte locales - " 989 "in multibyte locales - "
@@ -1011,7 +993,6 @@ _GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings "
1011#if defined GNULIB_POSIXCHECK 993#if defined GNULIB_POSIXCHECK
1012/* strrchr() does not work with multibyte strings if the locale encoding is 994/* strrchr() does not work with multibyte strings if the locale encoding is
1013 GB18030 and the character to be searched is a digit. */ 995 GB18030 and the character to be searched is a digit. */
1014# undef strrchr
1015/* Assume strrchr is always declared. */ 996/* Assume strrchr is always declared. */
1016_GL_WARN_ON_USE_CXX (strrchr, 997_GL_WARN_ON_USE_CXX (strrchr,
1017 const char *, char *, (const char *, int), 998 const char *, char *, (const char *, int),
@@ -1046,13 +1027,11 @@ _GL_CXXALIAS_SYS (strsep, char *,
1046 (char **restrict __stringp, char const *restrict __delim)); 1027 (char **restrict __stringp, char const *restrict __delim));
1047_GL_CXXALIASWARN (strsep); 1028_GL_CXXALIASWARN (strsep);
1048# if defined GNULIB_POSIXCHECK 1029# if defined GNULIB_POSIXCHECK
1049# undef strsep
1050_GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings " 1030_GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings "
1051 "in multibyte locales - " 1031 "in multibyte locales - "
1052 "use mbssep if you care about internationalization"); 1032 "use mbssep if you care about internationalization");
1053# endif 1033# endif
1054#elif defined GNULIB_POSIXCHECK 1034#elif defined GNULIB_POSIXCHECK
1055# undef strsep
1056# if HAVE_RAW_DECL_STRSEP 1035# if HAVE_RAW_DECL_STRSEP
1057_GL_WARN_ON_USE (strsep, "strsep is unportable - " 1036_GL_WARN_ON_USE (strsep, "strsep is unportable - "
1058 "use gnulib module strsep for portability"); 1037 "use gnulib module strsep for portability");
@@ -1095,11 +1074,13 @@ _GL_CXXALIASWARN (strstr);
1095 as a sequence of bytes, not of characters. */ 1074 as a sequence of bytes, not of characters. */
1096# undef strstr 1075# undef strstr
1097/* Assume strstr is always declared. */ 1076/* Assume strstr is always declared. */
1098_GL_WARN_ON_USE (strstr, "strstr is quadratic on many systems, and cannot " 1077_GL_WARN_ON_USE_CXX (strstr,
1099 "work correctly on character strings in most " 1078 const char *, char *, (const char *, const char *),
1100 "multibyte locales - " 1079 "strstr is quadratic on many systems, and cannot "
1101 "use mbsstr if you care about internationalization, " 1080 "work correctly on character strings in most "
1102 "or use strstr if you care about speed"); 1081 "multibyte locales - "
1082 "use mbsstr if you care about internationalization, "
1083 "or use strstr if you care about speed");
1103#endif 1084#endif
1104 1085
1105/* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive 1086/* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive
@@ -1145,7 +1126,6 @@ _GL_CXXALIASWARN (strcasestr);
1145/* strcasestr() does not work with multibyte strings: 1126/* strcasestr() does not work with multibyte strings:
1146 It is a glibc extension, and glibc implements it only for unibyte 1127 It is a glibc extension, and glibc implements it only for unibyte
1147 locales. */ 1128 locales. */
1148# undef strcasestr
1149# if HAVE_RAW_DECL_STRCASESTR 1129# if HAVE_RAW_DECL_STRCASESTR
1150_GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character " 1130_GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character "
1151 "strings in multibyte locales - " 1131 "strings in multibyte locales - "
@@ -1191,7 +1171,7 @@ _GL_CXXALIAS_RPL (strtok_r, char *,
1191 (char *restrict s, char const *restrict delim, 1171 (char *restrict s, char const *restrict delim,
1192 char **restrict save_ptr)); 1172 char **restrict save_ptr));
1193# else 1173# else
1194# if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK 1174# if @UNDEFINE_STRTOK_R@
1195# undef strtok_r 1175# undef strtok_r
1196# endif 1176# endif
1197# if ! @HAVE_DECL_STRTOK_R@ 1177# if ! @HAVE_DECL_STRTOK_R@
@@ -1211,7 +1191,6 @@ _GL_WARN_ON_USE (strtok_r, "strtok_r cannot work correctly on character "
1211 "use mbstok_r if you care about internationalization"); 1191 "use mbstok_r if you care about internationalization");
1212# endif 1192# endif
1213#elif defined GNULIB_POSIXCHECK 1193#elif defined GNULIB_POSIXCHECK
1214# undef strtok_r
1215# if HAVE_RAW_DECL_STRTOK_R 1194# if HAVE_RAW_DECL_STRTOK_R
1216_GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - " 1195_GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - "
1217 "use gnulib module strtok_r for portability"); 1196 "use gnulib module strtok_r for portability");
@@ -1579,7 +1558,6 @@ _GL_CXXALIAS_SYS (strerror, char *, (int));
1579_GL_CXXALIASWARN (strerror); 1558_GL_CXXALIASWARN (strerror);
1580# endif 1559# endif
1581#elif defined GNULIB_POSIXCHECK 1560#elif defined GNULIB_POSIXCHECK
1582# undef strerror
1583/* Assume strerror is always declared. */ 1561/* Assume strerror is always declared. */
1584_GL_WARN_ON_USE (strerror, "strerror is unportable - " 1562_GL_WARN_ON_USE (strerror, "strerror is unportable - "
1585 "use gnulib module strerror to guarantee non-NULL result"); 1563 "use gnulib module strerror to guarantee non-NULL result");
@@ -1607,7 +1585,6 @@ _GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen));
1607_GL_CXXALIASWARN (strerror_r); 1585_GL_CXXALIASWARN (strerror_r);
1608# endif 1586# endif
1609#elif defined GNULIB_POSIXCHECK 1587#elif defined GNULIB_POSIXCHECK
1610# undef strerror_r
1611# if HAVE_RAW_DECL_STRERROR_R 1588# if HAVE_RAW_DECL_STRERROR_R
1612_GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - " 1589_GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - "
1613 "use gnulib module strerror_r-posix for portability"); 1590 "use gnulib module strerror_r-posix for portability");
@@ -1636,7 +1613,6 @@ _GL_CXXALIAS_SYS (strerror_l, char *, (int errnum, locale_t locale));
1636_GL_CXXALIASWARN (strerror_l); 1613_GL_CXXALIASWARN (strerror_l);
1637# endif 1614# endif
1638#elif defined GNULIB_POSIXCHECK 1615#elif defined GNULIB_POSIXCHECK
1639# undef strerror_l
1640# if HAVE_RAW_DECL_STRERROR_L 1616# if HAVE_RAW_DECL_STRERROR_L
1641_GL_WARN_ON_USE (strerror_l, "strerror_l is unportable - " 1617_GL_WARN_ON_USE (strerror_l, "strerror_l is unportable - "
1642 "use gnulib module strerror_l for portability"); 1618 "use gnulib module strerror_l for portability");
@@ -1671,7 +1647,6 @@ _GL_CXXALIAS_SYS (strerrorname_np, const char *, (int errnum));
1671_GL_CXXALIASWARN (strerrorname_np); 1647_GL_CXXALIASWARN (strerrorname_np);
1672# endif 1648# endif
1673#elif defined GNULIB_POSIXCHECK 1649#elif defined GNULIB_POSIXCHECK
1674# undef strerrorname_np
1675# if HAVE_RAW_DECL_STRERRORNAME_NP 1650# if HAVE_RAW_DECL_STRERRORNAME_NP
1676_GL_WARN_ON_USE (strerrorname_np, "strerrorname_np is unportable - " 1651_GL_WARN_ON_USE (strerrorname_np, "strerrorname_np is unportable - "
1677 "use gnulib module strerrorname_np for portability"); 1652 "use gnulib module strerrorname_np for portability");
@@ -1686,7 +1661,6 @@ _GL_FUNCDECL_SYS (sigabbrev_np, const char *, (int sig), );
1686_GL_CXXALIAS_SYS (sigabbrev_np, const char *, (int sig)); 1661_GL_CXXALIAS_SYS (sigabbrev_np, const char *, (int sig));
1687_GL_CXXALIASWARN (sigabbrev_np); 1662_GL_CXXALIASWARN (sigabbrev_np);
1688#elif defined GNULIB_POSIXCHECK 1663#elif defined GNULIB_POSIXCHECK
1689# undef sigabbrev_np
1690# if HAVE_RAW_DECL_SIGABBREV_NP 1664# if HAVE_RAW_DECL_SIGABBREV_NP
1691_GL_WARN_ON_USE (sigabbrev_np, "sigabbrev_np is unportable - " 1665_GL_WARN_ON_USE (sigabbrev_np, "sigabbrev_np is unportable - "
1692 "use gnulib module sigabbrev_np for portability"); 1666 "use gnulib module sigabbrev_np for portability");
@@ -1701,7 +1675,6 @@ _GL_FUNCDECL_SYS (sigdescr_np, const char *, (int sig), );
1701_GL_CXXALIAS_SYS (sigdescr_np, const char *, (int sig)); 1675_GL_CXXALIAS_SYS (sigdescr_np, const char *, (int sig));
1702_GL_CXXALIASWARN (sigdescr_np); 1676_GL_CXXALIASWARN (sigdescr_np);
1703#elif defined GNULIB_POSIXCHECK 1677#elif defined GNULIB_POSIXCHECK
1704# undef sigdescr_np
1705# if HAVE_RAW_DECL_SIGDESCR_NP 1678# if HAVE_RAW_DECL_SIGDESCR_NP
1706_GL_WARN_ON_USE (sigdescr_np, "sigdescr_np is unportable - " 1679_GL_WARN_ON_USE (sigdescr_np, "sigdescr_np is unportable - "
1707 "use gnulib module sigdescr_np for portability"); 1680 "use gnulib module sigdescr_np for portability");
@@ -1725,7 +1698,6 @@ _GL_CXXALIAS_SYS_CAST (strsignal, char *, (int __sig));
1725# endif 1698# endif
1726_GL_CXXALIASWARN (strsignal); 1699_GL_CXXALIASWARN (strsignal);
1727#elif defined GNULIB_POSIXCHECK 1700#elif defined GNULIB_POSIXCHECK
1728# undef strsignal
1729# if HAVE_RAW_DECL_STRSIGNAL 1701# if HAVE_RAW_DECL_STRSIGNAL
1730_GL_WARN_ON_USE (strsignal, "strsignal is unportable - " 1702_GL_WARN_ON_USE (strsignal, "strsignal is unportable - "
1731 "use gnulib module strsignal for portability"); 1703 "use gnulib module strsignal for portability");
@@ -1751,7 +1723,6 @@ _GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *));
1751# endif 1723# endif
1752_GL_CXXALIASWARN (strverscmp); 1724_GL_CXXALIASWARN (strverscmp);
1753#elif defined GNULIB_POSIXCHECK 1725#elif defined GNULIB_POSIXCHECK
1754# undef strverscmp
1755# if HAVE_RAW_DECL_STRVERSCMP 1726# if HAVE_RAW_DECL_STRVERSCMP
1756_GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - " 1727_GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - "
1757 "use gnulib module strverscmp for portability"); 1728 "use gnulib module strverscmp for portability");