From 30af95307f99c9610ba0cfec40ebbe8504085be5 Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Wed, 16 Mar 2011 22:35:49 +0100
Subject: 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>
---
 include/sys/wait.h | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'include/sys')

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
-- 
cgit v1.2.3