aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-simple.c
diff options
context:
space:
mode:
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)