This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch checked in to gcc.c (getrusage) for SunOS4 bootstrap failure.
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Patch checked in to gcc.c (getrusage) for SunOS4 bootstrap failure.
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 13 Sep 1999 17:48:25 -0400 (EDT)
I checked in the following which was necessary on SunOS4.
--Kaveh
Index: ChangeLog
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/ChangeLog,v
retrieving revision 1.4371
diff -u -p -r1.4371 ChangeLog
--- ChangeLog 1999/09/13 19:19:16 1.4371
+++ ChangeLog 1999/09/13 21:45:44
@@ -1,3 +1,7 @@
+Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gcc.c (getrusage): Wrap prototype arguments in PROTO().
+
1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
* config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
Index: gcc.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/gcc.c,v
retrieving revision 1.113
diff -u -p -r1.113 gcc.c
--- gcc.c 1999/09/13 19:16:24 1.113
+++ gcc.c 1999/09/13 21:45:47
@@ -48,7 +48,7 @@ compilation is specified by a string cal
#include <sys/resource.h>
#endif
#ifdef NEED_DECLARATION_GETRUSAGE
-extern int getrusage(int, struct rusage *);
+extern int getrusage PROTO ((int, struct rusage *));
#endif
/* By default there is no special suffix for executables. */