OSDN Git Service

* include/sys/wait.h: Add in all c++ functions.
authorcgf <cgf>
Thu, 8 Dec 2011 18:24:23 +0000 (18:24 +0000)
committercgf <cgf>
Thu, 8 Dec 2011 18:24:23 +0000 (18:24 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/sys/wait.h

index ce8eefe..b16708e 100644 (file)
@@ -1,8 +1,12 @@
 2011-12-08  Christopher Faylor  <me.cygwin2011@cgf.cx>
 
+       * include/sys/wait.h: Add in all c++ functions.
+
+2011-12-08  Christopher Faylor  <me.cygwin2011@cgf.cx>
+
        * select.cc (select_stuff::wait): Temporarily disallow APCS.
 
-2011-12-08  Christopher Faylor  Christian Franke  <franke@computer.org>
+2011-12-08  Christopher Faylor  <me.cygwin2011@cgf.cx>
 
        * include/sys/wait.h: Ensure that C++ functions are only used when
        using C++.
index e7d1609..71ede93 100644 (file)
@@ -77,7 +77,6 @@ inline int __wait_status_to_int (int __status)
   { return __status; }
 inline int __wait_status_to_int (const union wait & __status)
   { return __status.w_status; }
-};
 
 /* C++ wait() variants for `union wait'.  */
 inline pid_t wait (union wait *__status)
@@ -88,6 +87,7 @@ inline pid_t wait3 (union wait *__status, int __options, struct rusage *__rusage
   { return wait3 ((int *) __status, __options, __rusage); }
 inline pid_t wait4 (pid_t __pid, union wait *__status, int __options, struct rusage *__rusage)
   { return wait4 (__pid, (int *) __status, __options, __rusage); }
+};
 
 #else /* !__cplusplus */