]> Savannah Git Hosting - gnulib.git/commitdiff
wchar: Fix compilation error (regression yesterday).
authorBruno Haible <bruno@clisp.org>
Mon, 16 Sep 2024 11:24:48 +0000 (13:24 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 16 Sep 2024 11:24:48 +0000 (13:24 +0200)
* lib/wchar.in.h (wctob): Use _GL_FUNCATTR_RPL, _GL_FUNCATTR_SYS here
as well.

ChangeLog
lib/wchar.in.h

index 21c10f8d5dd4c15b975fd27b295e9c289ed5eabc..d1dbeec2336ba733de36b95c5c647f6d497303fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2024-09-16  Bruno Haible  <bruno@clisp.org>
 
+       wchar: Fix compilation error (regression yesterday).
+       * lib/wchar.in.h (wctob): Use _GL_FUNCATTR_RPL, _GL_FUNCATTR_SYS here
+       as well.
+
        wchar: Fix compilation error (regression yesterday).
        * lib/wchar.in.h (btowc): Use _GL_FUNCATTR_RPL, _GL_FUNCATTR_SYS here
        as well.
index 9be9a60efe6991198bf773d0710c263cb6ec503c..8cf956dd4c04876dc5e286ed4fcce43d7eaf62c6 100644 (file)
@@ -297,12 +297,12 @@ _GL_WARN_ON_USE (btowc, "btowc is unportable - "
 #   undef wctob
 #   define wctob rpl_wctob
 #  endif
-_GL_FUNCDECL_RPL (wctob, int, (wint_t wc), _GL_ATTRIBUTE_PURE);
+_GL_FUNCATTR_RPL (wctob, int, (wint_t wc), _GL_ATTRIBUTE_PURE);
 _GL_CXXALIAS_RPL (wctob, int, (wint_t wc));
 # else
 #  if !defined wctob && !@HAVE_DECL_WCTOB@
 /* wctob is provided by gnulib, or wctob exists but is not declared.  */
-_GL_FUNCDECL_SYS (wctob, int, (wint_t wc), _GL_ATTRIBUTE_PURE);
+_GL_FUNCATTR_SYS (wctob, int, (wint_t wc), _GL_ATTRIBUTE_PURE);
 #  endif
 _GL_CXXALIAS_SYS (wctob, int, (wint_t wc));
 # endif