aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-12-09 08:20:07 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-09 01:20:07 -0700
commitac957f1381bdf2d00139365d92ecff530d16b768 (patch)
tree27428732fdaadeadefb7dd0fb50033ad0600a164 /gcc/libgcc2.c
parent0a232106fc0b44b5174f179c4efffbc11b186b92 (diff)
downloadgcc-ac957f1381bdf2d00139365d92ecff530d16b768.zip
gcc-ac957f1381bdf2d00139365d92ecff530d16b768.tar.gz
gcc-ac957f1381bdf2d00139365d92ecff530d16b768.tar.bz2
* Partially cleaned up prototyping code from HJ.
* haifa-sched.c (haifa_classify_insn): Renamed from classify_insn. All references changed. * rtl.h: Protect from multiple inclusions. Add many prototypes. * libgcc2.c (string.h): Hoist inclusion to occur before first use of string functions like strlen. More pending patches. From-SVN: r17024
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index dd54319..5a12739 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1446,6 +1446,7 @@ char *ctime ();
#include "gbl-ctors.h"
#include "gcov-io.h"
+#include <string.h>
static struct bb *bb_head;
@@ -1723,8 +1724,6 @@ __bb_init_func (struct bb *blocks)
#define MACHINE_STATE_RESTORE(ID)
#endif
-#include <string.h>
-
/* Number of buckets in hashtable of basic block addresses. */
#define BB_BUCKETS 311