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
This commit is contained in:
Andreas Jaeger 2003-06-17 07:09:13 +02:00 committed by Andreas Jaeger
parent 4c168c6e9d
commit 5b0e2409f7
6 changed files with 12 additions and 9 deletions

View file

@ -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;

View file

@ -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)

View file

@ -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)
{

View file

@ -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));

View file

@ -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"

View file

@ -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;