diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-17 05:09:13 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-17 05:09:13 +0000 |
commit | a0ed384df74326c3c6743e523ae3de8eddfd1547 (patch) | |
tree | 3ac84d4d6d7d574640884b9a11bfc31afe3d68ab | |
parent | ce061b83bd36ea50daea9335196cd969f1858170 (diff) | |
download | gcc-a0ed384df74326c3c6743e523ae3de8eddfd1547.tar.gz |
* rtl.h: Remove declarations from coverage.h.
* toplev.c: Include coverage.h.
* Makefile.in (toplev.o): Depend on coverage.h.
* toplev.h: Remove extra declaration of print_time.
* gengtype.c (close_output_files): Remove duplicated declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68066 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/Makefile.in | 2 | ||||
-rw-r--r-- | gcc/gengtype.c | 2 | ||||
-rw-r--r-- | gcc/rtl.h | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 1 | ||||
-rw-r--r-- | gcc/toplev.h | 1 |
6 files changed, 12 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ab7ed193d2..a8ce5fa4657 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2003-06-17 Andreas Jaeger <aj@suse.de> + + * rtl.h: Remove declarations from coverage.h. + * toplev.c: Include coverage.h. + * Makefile.in (toplev.o): Depend on coverage.h. + + * toplev.h: Remove extra declaration of print_time. + + * gengtype.c (close_output_files): Remove duplicated declaration. + 2003-06-16 Nathanael Nerode <neroden@gcc.gnu.org> * config/sparc/sysv4.h: Remove target-independent comment; diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 469d845b23c..0f351abfd16 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1490,7 +1490,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(RTL_ graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \ ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \ langhooks.h insn-flags.h options_.h cfglayout.h real.h cfgloop.h \ - hosthooks.h $(LANGHOOKS_DEF_H) cgraph.h + hosthooks.h $(LANGHOOKS_DEF_H) cgraph.h $(COVERAGE_H) $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -DTARGET_NAME=\"$(target_alias)\" \ -c $(srcdir)/toplev.c $(OUTPUT_OPTION) diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 12608875b87..4e61449861b 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -1271,8 +1271,6 @@ get_output_file_name (const char *input_file) /* Copy the output to its final destination, but don't unnecessarily change modification times. */ -static void close_output_files (void); - static void close_output_files (void) { diff --git a/gcc/rtl.h b/gcc/rtl.h index 7406f3b37f1..6687aed044b 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2226,11 +2226,6 @@ extern void dump_local_alloc PARAMS ((FILE *)); extern int local_alloc PARAMS ((void)); extern int function_invariant_p PARAMS ((rtx)); -/* In coverage.c */ -extern void coverage_init (const char *); -extern void coverage_finish (void); -extern void coverage_end_function (void); - /* In profile.c */ extern void init_branch_prob PARAMS ((void)); extern void branch_prob PARAMS ((void)); diff --git a/gcc/toplev.c b/gcc/toplev.c index 65fd6b95618..f25f716c141 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -77,6 +77,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "hosthooks.h" #include "cgraph.h" #include "opts.h" +#include "coverage.h" #if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO) #include "dwarf2out.h" diff --git a/gcc/toplev.h b/gcc/toplev.h index 61bed8b3e85..12d540e9c6f 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -30,7 +30,6 @@ extern int toplev_main (int, char **); extern int read_integral_parameter (const char *, const char *, const int); extern void strip_off_ending (char *, int); -extern void print_time (const char *, long); extern const char *trim_filename (const char *); extern void internal_error (const char *, ...) ATTRIBUTE_NORETURN; |