iswblank: Fix C++ link error on Solaris 8.
authorBruno Haible <bruno@clisp.org>
Sat, 25 Dec 2010 15:54:32 +0000 (16:54 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 25 Dec 2010 15:54:32 +0000 (16:54 +0100)
* lib/wctype.in.h (iswblank): Declare using _GL_FUNCDECL_RPL or
_GL_FUNCDECL_SYS.

ChangeLog
lib/wctype.in.h

index ec152d0..98acbca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-12-25  Bruno Haible  <bruno@clisp.org>
 
+       iswblank: Fix C++ link error on Solaris 8.
+       * lib/wctype.in.h (iswblank): Declare using _GL_FUNCDECL_RPL or
+       _GL_FUNCDECL_SYS.
+
+2010-12-25  Bruno Haible  <bruno@clisp.org>
+
        unistd: Fix C++ link error on Solaris 8.
        * modules/unistd-c++-tests (test_unistd_c___LDADD): Add $(LIB_EACCESS).
 
index 9a62098..0505a47 100644 (file)
@@ -284,9 +284,9 @@ towupper
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   define iswblank rpl_iswblank
 #  endif
-extern int rpl_iswblank (wint_t wc);
+_GL_FUNCDECL_RPL (iswblank, int, (wint_t wc));
 # else
-extern int iswblank (wint_t wc);
+_GL_FUNCDECL_SYS (iswblank, int, (wint_t wc));
 # endif
 
 #endif