[git commit future 1/1] wait.h: resource.h is included already, rusage is defined

Peter S. Mazinger ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=dd399df074a35512ff8cc5341da71c045ecaf949
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 include/sys/wait.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/sys/wait.h b/include/sys/wait.h
index 16893c0..4beb3e2 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -158,10 +158,6 @@ extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop,
 #endif
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
-/* This being here makes the prototypes valid whether or not
-   we have already included <sys/resource.h> to define `struct rusage'.  */
-struct rusage;
-
 /* Wait for a child to exit.  When one does, put its status in *STAT_LOC and
    return its process ID.  For errors return (pid_t) -1.  If USAGE is not
    nil, store information about the child's resource usage there.  If the
-- 
1.7.3.4



More information about the uClibc-cvs mailing list