waitpid: Fix link error in C++ mode.
authorBruno Haible <bruno@clisp.org>
Fri, 31 Dec 2010 14:38:30 +0000 (15:38 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 31 Dec 2010 14:38:30 +0000 (15:38 +0100)
* lib/sys_wait.in.h: Remove extern "C" { ... } group.

ChangeLog
lib/sys_wait.in.h

index 3176a03..14cd98e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-12-31  Bruno Haible  <bruno@clisp.org>
 
+       waitpid: Fix link error in C++ mode.
+       * lib/sys_wait.in.h: Remove extern "C" { ... } group.
+
+2010-12-31  Bruno Haible  <bruno@clisp.org>
+
        isnan: Use GCC built-ins when possible.
        * lib/math.in.h (gl_isnan_f): Use __builtin_isnanf instead of
        __builtin_isnan.
index d7a4126..03d22d6 100644 (file)
 
 #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 */