toplev.c (set_fast_math_flags): Don't use ISO C style function definitions.
authorAndreas Jaeger <aj@gcc.gnu.org>
Sat, 6 Jul 2002 13:39:46 +0000 (15:39 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Sat, 6 Jul 2002 13:39:46 +0000 (15:39 +0200)
* toplev.c (set_fast_math_flags): Don't use ISO C style function
definitions.
* gengtype.c (open_base_files): Likewise.
(close_output_files): Likewise.
* tracer.c (find_best_predecessor): Likewise.
(find_best_successor): Likewise.
(ignore_bb_p): Likewise.

From-SVN: r55286

gcc/gengtype.c
gcc/toplev.c
gcc/tracer.c

index f96fc53..b52d4a8 100644 (file)
@@ -25,6 +25,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* Nonzero iff an error has occurred.  */
 static int hit_error = 0;
 
+static void open_base_files PARAMS ((void));
+static void close_output_files PARAMS ((void));
+
+
 /* Report an error at POS, printing MSG.  */
 
 void
@@ -607,7 +611,7 @@ oprintf VPARAMS ((outf_p o, const char *format, ...))
 /* Open the global header file and the language-specific header files.  */
 
 static void
-open_base_files (void)
+open_base_files ()
 {
   size_t i;
   
@@ -795,7 +799,7 @@ get_output_file_name (input_file)
    but don't unnecessarily change modification times.  */
 
 static void
-close_output_files PARAMS ((void))
+close_output_files ()
 {
   outf_p of;
   
index cbdb8ff..0c2fd7c 100644 (file)
@@ -1549,7 +1549,8 @@ set_Wunused (setting)
    -ffast-math and -fno-fast-math imply.  */
 
 void
-set_fast_math_flags (int set)
+set_fast_math_flags (set)
+     int set;
 {
   flag_trapping_math = !set;
   flag_unsafe_math_optimizations = set;
index b7c5a76..c0fbe21 100644 (file)
@@ -1,6 +1,6 @@
 /* The tracer pass for the GNU compiler.
    Contributed by Jan Hubicka, SuSE Labs.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -49,6 +49,8 @@
 static int count_insns         PARAMS ((basic_block));
 static bool ignore_bb_p                PARAMS ((basic_block));
 static bool better_p           PARAMS ((edge, edge));
+static edge find_best_successor PARAMS ((basic_block));
+static edge find_best_predecessor PARAMS ((basic_block));
 static int find_trace          PARAMS ((basic_block, basic_block *));
 static void tail_duplicate     PARAMS ((void));
 static void layout_superblocks PARAMS ((void));
@@ -65,7 +67,8 @@ static int branch_ratio_cutoff;
 
 /* Return true if we should ignore the basic block for purposes of tracing. */
 static bool
-ignore_bb_p (basic_block bb)
+ignore_bb_p (bb)
+     basic_block bb;
 {
   if (bb->index < 0)
     return true;
@@ -110,7 +113,8 @@ better_p (e1, e2)
 /* Return most frequent successor of basic block BB.  */
 
 static edge
-find_best_successor (basic_block bb)
+find_best_successor (bb)
+     basic_block bb;
 {
   edge e;
   edge best = NULL;
@@ -128,7 +132,8 @@ find_best_successor (basic_block bb)
 /* Return most frequent predecessor of basic block BB.  */
 
 static edge
-find_best_predecessor (basic_block bb)
+find_best_predecessor (bb)
+     basic_block bb;
 {
   edge e;
   edge best = NULL;