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 3176a0363645587e03d58bb0f8ed321dc3e12396..14cd98e046855f6272169bb649973407ee3f1f7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index d7a412640dd67552ab1eaa7a9c1543f103ae1730..03d22d6b01557cb505b7bc8b064b97623bbc5713 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 */