From: Bruno Haible Date: Fri, 31 Dec 2010 14:38:30 +0000 (+0100) Subject: waitpid: Fix link error in C++ mode. X-Git-Tag: v0.1~3426 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=9c01ebed5022fc49f67b29e334fdb6e3c7f49fc2;p=gnulib.git waitpid: Fix link error in C++ mode. * lib/sys_wait.in.h: Remove extern "C" { ... } group. --- 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 */