waitpid: Fix link error in C++ mode.
* lib/sys_wait.in.h: Remove extern "C" { ... } group.
author |
Bruno Haible <bruno@clisp.org> |
date |
Fri, 31 Dec 2010 15:38:30 +0100 |
parents |
99b3a26ce54b |
children |
a9b8cdb01be3 |
files |
ChangeLog lib/sys_wait.in.h |
diffstat |
2 files changed, 5 insertions(+), 6 deletions(-)
[+]
|
line diff
--- 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.
--- 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 @@
# endif
#endif
-#ifdef __cplusplus
-}
-#endif
#endif /* _GL_SYS_WAIT_H */
#endif /* _GL_SYS_WAIT_H */