aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-13 21:46:32 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-13 21:46:32 +0000
commit06b8b73051f29a32542ddc23dcc92dc94a4a7339 (patch)
tree11a0416df0739687fdff14dd83a6238dcdb9cff4 /gcc
parent9a76ab7ea90a0b56a7b2261c9d5515722533616f (diff)
downloadgcc-06b8b73051f29a32542ddc23dcc92dc94a4a7339.zip
gcc-06b8b73051f29a32542ddc23dcc92dc94a4a7339.tar.gz
gcc-06b8b73051f29a32542ddc23dcc92dc94a4a7339.tar.bz2
* gcc.c (getrusage): Wrap prototype arguments in PROTO().
From-SVN: r29384
Diffstat (limited to 'gcc')
-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. */