diff options
author | Andreas Jaeger <aj@suse.de> | 2003-06-17 07:09:13 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2003-06-17 07:09:13 +0200 |
commit | 5b0e2409f70da6532af18625a8b5afc17b31bf63 (patch) | |
tree | 3ac84d4d6d7d574640884b9a11bfc31afe3d68ab /gcc | |
parent | 4c168c6e9d7878c112593f0bba828e6b7cd68272 (diff) | |
download | gcc-5b0e2409f70da6532af18625a8b5afc17b31bf63.zip gcc-5b0e2409f70da6532af18625a8b5afc17b31bf63.tar.gz gcc-5b0e2409f70da6532af18625a8b5afc17b31bf63.tar.bz2 |
rtl.h: Remove declarations from coverage.h.
* 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.
From-SVN: r68066
Diffstat (limited to 'gcc')
-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 0ab7ed1..a8ce5fa 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 469d845..0f351ab 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 1260887..4e61449 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) { @@ -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 65fd6b9..f25f716 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 61bed8b..12d540e 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; |