diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-05 02:31:20 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-05 02:31:20 +0000 |
commit | 10f946bf78e0c973a626f1dd04bf275cd3612bf5 (patch) | |
tree | 47fe2443a37bfd920d0066db676fbcbeef330ae9 /gcc/ggc-simple.c | |
parent | 26df1c5eadc76e61201fc84dd1a2ab29c03bcdc1 (diff) | |
download | gcc-10f946bf78e0c973a626f1dd04bf275cd3612bf5.tar.gz |
* ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29118 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r-- | gcc/ggc-simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index 3ce7bcb596b..1d0432d8940 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) |