rtl.h: Remove declarations from coverage.h.
authorAndreas Jaeger <aj@suse.de>
Tue, 17 Jun 2003 05:09:13 +0000 (07:09 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Tue, 17 Jun 2003 05:09:13 +0000 (07:09 +0200)
* 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

gcc/ChangeLog
gcc/Makefile.in
gcc/gengtype.c
gcc/rtl.h
gcc/toplev.c
gcc/toplev.h

index 0ab7ed193d213510f12dabf66aa87be8901b75bf..a8ce5fa4657c864bfe67f97e16476ad78e5ffb18 100644 (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;
index 469d845b23c6a8af6d8e3f256d3427923f60edb3..0f351abfd16e683fa6d407f57ed085f08a538cb8 100644 (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)
index 12608875b87403251eb6333fbfd2b4fdfd806d0b..4e61449861b2306ab200028fecfff37549167f22 100644 (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)
 {
index 7406f3b37f1c7032d7cd36463dbff53624f6bde2..6687aed044b19aeebe1c31775dcc59accc3cec16 100644 (file)
--- 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));
index 65fd6b95618e9551e1266125f0c82a9261c4173b..f25f716c141abd511791ad4120ced592d717946b 100644 (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"
index 61bed8b3e857ecaa3e06ada9732e72db80686fef..12d540e9c6f0dd969cb78bab2c5c453e864e7551 100644 (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;