Include tm_p.h in ggc files
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 1999 15:42:18 +0000 (15:42 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 1999 15:42:18 +0000 (15:42 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29825 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ggc-callbacks.c
gcc/ggc-common.c
gcc/ggc-none.c
gcc/ggc-page.c
gcc/ggc-simple.c

index 5f257cc..1120c15 100644 (file)
@@ -1,3 +1,9 @@
+Tue Oct  5 11:34:52 1999  Michael Meissner  <meissner@cygnus.com>
+
+       * 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 <dnovillo@cygnus.com>
                           Jonathan Larmour  <jlarmour@cygnus.co.uk>
 
index caae2bc..462e690 100644 (file)
@@ -22,6 +22,7 @@
 #include "system.h"
 #include "rtl.h"
 #include "tree.h"
+#include "tm_p.h"
 #include "ggc.h"
 
 int ggc_p = 0;
index cf28d5b..5acde49 100644 (file)
 
 #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 *));
index d567c8b..4e9ef4a 100644 (file)
@@ -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.  */
index 879f8fa..80967d2 100644 (file)
@@ -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"
index cb9364b..841f50b 100644 (file)
 #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.  */