aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a15dbc4..bdf5bb6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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):
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 89bae33..aa98df0 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -48,7 +48,7 @@ compilation is specified by a string called a "spec". */
#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. */