]> Savannah Git Hosting - gnulib.git/commitdiff
stdbit-h: Make it work in C++ mode.
authorBruno Haible <bruno@clisp.org>
Wed, 15 May 2024 23:20:08 +0000 (01:20 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 May 2024 23:20:08 +0000 (01:20 +0200)
* lib/stdbit.in.h: Remove extraneous 'extern "C" {' marker.

ChangeLog
lib/stdbit.in.h

index 377dbe99bbec7b67d440109f0073ade3980834dd..9ce6d303c62cdb9cada3d01381aed4d575b3cc69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-15  Bruno Haible  <bruno@clisp.org>
+
+       stdbit-h: Make it work in C++ mode.
+       * lib/stdbit.in.h: Remove extraneous 'extern "C" {' marker.
+
 2024-05-15  Bruno Haible  <bruno@clisp.org>
 
        stdbit-h, stdc_*: New modules, part of the stdbit module.
index 73b234791def27e772fca8b84586707127905d66..f241a5c5739a00a41f9d9d9f9329f9ccc7d7bdd0 100644 (file)
@@ -73,10 +73,6 @@ _GL_INLINE_HEADER_BEGIN
 # define _GL_STDC_BIT_CEIL_INLINE _GL_INLINE
 #endif
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /* An expression, preferably with the type of A, that has the value of B.  */
 #if ((defined __GNUC__ && 2 <= __GNUC__) \
      || (defined __clang_major__ && 4 <= __clang_major__) \