* ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 5 Sep 1999 02:31:20 +0000 (02:31 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 5 Sep 1999 02:31:20 +0000 (02:31 +0000)
From-SVN: r29118

gcc/ChangeLog
gcc/ggc-simple.c

index 2eaa68fe4a8a5b21e0a46c0338f826423c657118..a80c0e8d0ba96c9b309c785bfd64db408325ca8c 100644 (file)
@@ -1,3 +1,7 @@
+Sat Sep  4 22:28:56 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
+
 Sat Sep  4 18:01:45 1999  Bernd Schmidt <bernds@cygnus.co.uk>
 
        * c-decl.c (struct language_function): Renamed from struct c_function.
index 3ce7bcb596b93e9df9202be7a48bde40d1e02a64..1d0432d894029ce26f2a959bb9afddfb3e6f7891 100644 (file)
@@ -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)