From 9c01ebed5022fc49f67b29e334fdb6e3c7f49fc2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 31 Dec 2010 15:38:30 +0100 Subject: [PATCH] waitpid: Fix link error in C++ mode. * lib/sys_wait.in.h: Remove extern "C" { ... } group. --- ChangeLog | 5 +++++ lib/sys_wait.in.h | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3176a0363..14cd98e04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-12-31 Bruno Haible + waitpid: Fix link error in C++ mode. + * lib/sys_wait.in.h: Remove extern "C" { ... } group. + +2010-12-31 Bruno Haible + isnan: Use GCC built-ins when possible. * lib/math.in.h (gl_isnan_f): Use __builtin_isnanf instead of __builtin_isnan. diff --git a/lib/sys_wait.in.h b/lib/sys_wait.in.h index d7a412640..03d22d6b0 100644 --- a/lib/sys_wait.in.h +++ b/lib/sys_wait.in.h @@ -108,9 +108,6 @@ #endif -#ifdef __cplusplus -extern "C" { -#endif /* Declarations of functions. */ @@ -128,9 +125,6 @@ _GL_WARN_ON_USE (waitpid, "waitpid is unportable - " # endif #endif -#ifdef __cplusplus -} -#endif #endif /* _GL_SYS_WAIT_H */ #endif /* _GL_SYS_WAIT_H */ -- 2.11.0