- Coding style fixes. Thanks Axel for the heads up.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34097 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bruno G. Albuquerque 2009-11-17 16:13:00 +00:00
parent 694cb0b270
commit 7d911b2ad9
2 changed files with 6 additions and 4 deletions

View File

@ -10,6 +10,7 @@
#include <sys/resource.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -11,17 +11,18 @@
pid_t
wait3(int *status, int options, struct rusage *rusage) {
wait3(int *status, int options, struct rusage *rusage)
{
return wait4(-1, status, options, rusage);
}
pid_t
wait4(pid_t pid, int *status, int options, struct rusage *rusage) {
wait4(pid_t pid, int *status, int options, struct rusage *rusage)
{
pid_t waitPid = waitpid(pid, status, options);
if (waitPid != -1) {
if (waitPid != -1)
getrusage(RUSAGE_CHILDREN, rusage);
}
return waitPid;
}