about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-04-07 18:21:35 +0000
committerUlrich Drepper <drepper@redhat.com>2007-04-07 18:21:35 +0000
commit75587bfeeeb4c7d8c72e14fbfde5479754d1b103 (patch)
treec0dc506d4aa92a56495ef3e76373004b7661b6d2
parent0c786eacd3410d966f841d9fd213b7a215f4fbbf (diff)
downloadglibc-75587bfeeeb4c7d8c72e14fbfde5479754d1b103.tar.gz
glibc-75587bfeeeb4c7d8c72e14fbfde5479754d1b103.tar.xz
glibc-75587bfeeeb4c7d8c72e14fbfde5479754d1b103.zip
* posix/sys/wait.h: Remove unnecessary forward declaration.
-rw-r--r--ChangeLog4
-rw-r--r--posix/sys/wait.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 50ddc3c378..0690c00cc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-07  Ulrich Drepper  <drepper@redhat.com>
+
+	* posix/sys/wait.h: Remove unnecessary forward declaration.
+
 2007-04-05  Jakub Jelinek  <jakub@redhat.com>
 
 	* nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
diff --git a/posix/sys/wait.h b/posix/sys/wait.h
index d7a58eab13..fe103570db 100644
--- a/posix/sys/wait.h
+++ b/posix/sys/wait.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1994,1996-2001,2003,2004,2005
+/* Copyright (C) 1991-1994,1996-2001,2003,2004,2005,2007
 	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -171,10 +171,6 @@ extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options,
 #endif
 
 #ifdef __USE_BSD
-/* This being here makes the prototypes valid whether or not
-   we have already included <sys/resource.h> to define `struct rusage'.  */
-struct rusage;
-
 /* PID is like waitpid.  Other args are like wait3.  */
 extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options,
 		      struct rusage *__usage) __THROW;