From 1b42a6a905d4647e1328d8cf6c18c2ef9d2c72f1 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 5 Oct 1999 15:42:18 +0000 Subject: [PATCH] Include tm_p.h in ggc files From-SVN: r29825 --- gcc/ChangeLog | 6 ++++++ gcc/ggc-callbacks.c | 1 + gcc/ggc-common.c | 5 +++-- gcc/ggc-none.c | 1 + gcc/ggc-page.c | 1 + gcc/ggc-simple.c | 3 ++- 6 files changed, 14 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f257ccf785..1120c159a78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Tue Oct 5 11:34:52 1999 Michael Meissner + + * ggc-{common,callbacks,none,page,simple}.c (toplevel): Reorder + includes, so that ggc.h comes after other includes that define the + appropriate types. Include tm_p.h for getting user prototypes. + Mon Oct 4 16:48:16 1999 Diego Novillo Jonathan Larmour diff --git a/gcc/ggc-callbacks.c b/gcc/ggc-callbacks.c index caae2bcff28..462e6905dc2 100644 --- a/gcc/ggc-callbacks.c +++ b/gcc/ggc-callbacks.c @@ -22,6 +22,7 @@ #include "system.h" #include "rtl.h" #include "tree.h" +#include "tm_p.h" #include "ggc.h" int ggc_p = 0; diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index cf28d5bbc0c..5acde492d17 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -23,11 +23,12 @@ #include "config.h" #include "system.h" -#include "ggc.h" -#include "hash.h" #include "rtl.h" #include "tree.h" +#include "tm_p.h" +#include "hash.h" #include "varray.h" +#include "ggc.h" static void ggc_mark_rtx_ptr PARAMS ((void *)); static void ggc_mark_tree_ptr PARAMS ((void *)); diff --git a/gcc/ggc-none.c b/gcc/ggc-none.c index d567c8b3fde..4e9ef4aacd7 100644 --- a/gcc/ggc-none.c +++ b/gcc/ggc-none.c @@ -29,6 +29,7 @@ #include "config.h" #include "system.h" #include "rtl.h" +#include "tm_p.h" #include "ggc.h" /* For now, keep using the old obstack scheme in the gen* programs. */ diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 879f8fa776d..80967d25c6d 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -22,6 +22,7 @@ #include "system.h" #include "tree.h" #include "rtl.h" +#include "tm_p.h" #include "varray.h" #include "flags.h" #include "ggc.h" diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index cb9364be96c..841f50bf561 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -22,10 +22,11 @@ #include "system.h" #include "rtl.h" #include "tree.h" -#include "ggc.h" +#include "tm_p.h" #include "flags.h" #include "varray.h" #include "hash.h" +#include "ggc.h" /* Debugging flags. */ -- 2.30.2