aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-simple.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-05 02:31:20 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-05 02:31:20 +0000
commit6621f41de9e59ab84880d506f7de8b6ca6eccecb (patch)
tree47fe2443a37bfd920d0066db676fbcbeef330ae9 /gcc/ggc-simple.c
parente2ecd91c7bff7cc5180c3bbd6dd1ff62b801350b (diff)
downloadgcc-6621f41de9e59ab84880d506f7de8b6ca6eccecb.zip
gcc-6621f41de9e59ab84880d506f7de8b6ca6eccecb.tar.gz
gcc-6621f41de9e59ab84880d506f7de8b6ca6eccecb.tar.bz2
* ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
From-SVN: r29118
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r--gcc/ggc-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c
index 3ce7bcb..1d0432d 100644
--- a/gcc/ggc-simple.c
+++ b/gcc/ggc-simple.c
@@ -37,7 +37,7 @@ struct ggc_root
void *base;
int nelt;
int size;
- void (*cb)(void *);
+ void (*cb) PROTO ((void *));
};
static struct ggc_root *roots;
@@ -524,7 +524,7 @@ ggc_collect ()
{
char *elt = x->base;
int s = x->size, n = x->nelt;
- void (*cb)(void *) = x->cb;
+ void (*cb) PROTO ((void *)) = x->cb;
int i;
for (i = 0; i < n; ++i, elt += s)