From: Bruno Haible Date: Wed, 15 May 2024 23:20:08 +0000 (+0200) Subject: stdbit-h: Make it work in C++ mode. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=182c7eb43345f26178f9a3f794c85e684e96c370;p=gnulib.git stdbit-h: Make it work in C++ mode. * lib/stdbit.in.h: Remove extraneous 'extern "C" {' marker. --- diff --git a/ChangeLog b/ChangeLog index 377dbe99bb..9ce6d303c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-05-15 Bruno Haible + + stdbit-h: Make it work in C++ mode. + * lib/stdbit.in.h: Remove extraneous 'extern "C" {' marker. + 2024-05-15 Bruno Haible stdbit-h, stdc_*: New modules, part of the stdbit module. diff --git a/lib/stdbit.in.h b/lib/stdbit.in.h index 73b234791d..f241a5c573 100644 --- a/lib/stdbit.in.h +++ b/lib/stdbit.in.h @@ -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__) \