+2003-10-28 Andreas Jaeger <aj@suse.de>
+
+ * ggc-zone.c (check_cookies): Add missing variable.
+ Add void to prototypes.
+
2003-10-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
/* Initialize the ggc-zone-mmap allocator. */
void
-init_ggc ()
+init_ggc (void)
{
/* Create the zones. */
main_zone.name = "Main zone";
are never freed, eliminating the need to register their roots. */
void
-ggc_push_context ()
+ggc_push_context (void)
{
struct alloc_zone *zone;
for (zone = G.zones; zone; zone = zone->next_zone)
/* Pop all the zone contexts. */
void
-ggc_pop_context ()
+ggc_pop_context (void)
{
struct alloc_zone *zone;
for (zone = G.zones; zone; zone = zone->next_zone)
structures. */
static inline void
-check_cookies ()
+check_cookies (void)
{
#ifdef COOKIE_CHECKING
page_entry *p;
+ struct alloc_zone *zone;
+
for (zone = G.zones; zone; zone = zone->next_zone)
{
for (p = zone->pages; p; p = p->next)
/* Top level collection routine. */
void
-ggc_collect ()
+ggc_collect (void)
{
struct alloc_zone *zone;
bool marked = false;
/* Print allocation statistics. */
void
-ggc_print_statistics ()
+ggc_print_statistics (void)
{
}