]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* stmt.c: Convert remaining prototypes to ISO C90.
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jul 2003 20:42:56 +0000 (20:42 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jul 2003 20:42:56 +0000 (20:42 +0000)
* cfglayout.c: Likewise.
* dbxout.c: Likewise.
* gcc.c: Likewise.
* genemit.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69015 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfglayout.c
gcc/dbxout.c
gcc/gcc.c
gcc/genemit.c
gcc/stmt.c

index 26c7a5bb340f30e272a6fc6d854865184ba5995d..ceee443808e6dc8643342adbb4aa00fb949ac733 100644 (file)
@@ -1,5 +1,11 @@
 2003-07-06  Andreas Jaeger  <aj@suse.de>
 
+       * stmt.c: Convert remaining prototypes to ISO C90.
+       * cfglayout.c: Likewise.
+       * dbxout.c: Likewise.
+       * gcc.c: Likewise.
+       * genemit.c: Likewise.
+
        * basic-block.h: Convert prototypes to ISO C90.
        * c-parse.in: Likewise.
        * c-pragma.h: Likewise.
index 08d20e1357af18282e563e29e72f753325f41d00..121e3e0e0f3425b376d27940669278225275a1d4 100644 (file)
@@ -1084,8 +1084,7 @@ cfg_layout_duplicate_bb (basic_block bb, edge e)
 }
 \f
 void
-cfg_layout_initialize_rbi (bb)
-     basic_block bb;
+cfg_layout_initialize_rbi (basic_block bb)
 {
   if (bb->rbi)
     abort ();
@@ -1097,7 +1096,7 @@ cfg_layout_initialize_rbi (bb)
    CFG layout changes.  It keeps LOOPS up-to-date if not null.  */
 
 void
-cfg_layout_initialize ()
+cfg_layout_initialize (void)
 {
   basic_block bb;
 
index cd17805466004aade18314f72e7ff619eb335833..0fb46a924f34bacd49c568588949a5750e5dab1e 100644 (file)
@@ -574,7 +574,7 @@ emit_bincl_stab (const char *name)
 /* If there are pending bincls then it is time to emit all of them.  */
 
 static inline void
-emit_pending_bincls_if_required ()
+emit_pending_bincls_if_required (void)
 {
   if (pending_bincls)
     emit_pending_bincls ();
@@ -583,7 +583,7 @@ emit_pending_bincls_if_required ()
 /* Emit all pending bincls.  */
 
 static void
-emit_pending_bincls ()
+emit_pending_bincls (void)
 {
   struct dbx_file *f = current_file;
 
@@ -616,7 +616,7 @@ emit_pending_bincls ()
 #else
 
 static inline void
-emit_pending_bincls_if_required () {}
+emit_pending_bincls_if_required (void) {}
 #endif
 
 /* Change to reading from a new source file.  Generate a N_BINCL stab.  */
index 28341d5e4297efe0ceebdf9e82dcb4b28b7720e3..0f59b27ba2d9a1b8684bc8ea4c32c9a2cf94adcc 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1561,7 +1561,7 @@ init_gcc_specs (struct obstack *obstack, const char *shared_name,
 /* Initialize the specs lookup routines.  */
 
 static void
-init_spec ()
+init_spec (void)
 {
   struct spec_list *next = (struct spec_list *) 0;
   struct spec_list *sl   = (struct spec_list *) 0;
@@ -1802,7 +1802,7 @@ static const char *programname;
 /* Allocate the argument vector.  */
 
 static void
-alloc_args ()
+alloc_args (void)
 {
   argbuf_length = 10;
   argbuf = (const char **) xmalloc (argbuf_length * sizeof (const char *));
index 35b58a099e09d898c663742263e747cdf53f439f..ea787d24c003416741689404b216eb5db5b5f6b4 100644 (file)
@@ -671,7 +671,7 @@ gen_split (rtx split)
    the end of the vector.  */
 
 static void
-output_add_clobbers ()
+output_add_clobbers (void)
 {
   struct clobber_pat *clobber;
   struct clobber_ent *ent;
index ce11895e6351fdca0898076bc75f18053427face..493c87a1f860bcb478e83970b65e85e4fc0e194b 100644 (file)
@@ -5130,7 +5130,8 @@ struct case_bit_test
 
 /* Determine whether "1 << x" is relatively cheap in word_mode.  */
 
-static bool lshift_cheap_p ()
+static
+bool lshift_cheap_p (void)
 {
   static bool init = false;
   static bool cheap = true;
@@ -5150,9 +5151,8 @@ static bool lshift_cheap_p ()
    number of case nodes, i.e. the node with the most cases gets
    tested first.  */
 
-static int case_bit_test_cmp (p1, p2)
-     const void *p1;
-     const void *p2;
+static
+int case_bit_test_cmp (const void *p1, const void *p2)
 {
   const struct case_bit_test *d1 = p1;
   const struct case_bit_test *d2 = p2;