summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 22:35:49 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:26 +0200
commit30af95307f99c9610ba0cfec40ebbe8504085be5 (patch)
tree8f66048e539beb6d8e0b952d2592d26838631a77 /include/sys
parent2f205af9bbc51605de8aa54edaa01387a55d187b (diff)
wait.h: resource.h is included already, rusage is defined
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/wait.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sys/wait.h b/include/sys/wait.h
index 16893c0b9..4beb3e239 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