>From 182c7eb43345f26178f9a3f794c85e684e96c370 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 16 May 2024 01:20:08 +0200 Subject: [PATCH 1/2] stdbit-h: Make it work in C++ mode. * lib/stdbit.in.h: Remove extraneous 'extern "C" {' marker. --- ChangeLog | 5 +++++ lib/stdbit.in.h | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) 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__) \ -- 2.34.1