Commit 7e51717c by Andreas Jaeger Committed by Andreas Jaeger

stmt.c: Convert remaining prototypes to ISO C90.

	* stmt.c: Convert remaining prototypes to ISO C90.
	* cfglayout.c: Likewise.
	* dbxout.c: Likewise.
	* gcc.c: Likewise.
	* genemit.c: Likewise.

From-SVN: r69015
parent 77f9b92c
2003-07-06 Andreas Jaeger <aj@suse.de> 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. * basic-block.h: Convert prototypes to ISO C90.
* c-parse.in: Likewise. * c-parse.in: Likewise.
* c-pragma.h: Likewise. * c-pragma.h: Likewise.
......
...@@ -1084,8 +1084,7 @@ cfg_layout_duplicate_bb (basic_block bb, edge e) ...@@ -1084,8 +1084,7 @@ cfg_layout_duplicate_bb (basic_block bb, edge e)
} }
void void
cfg_layout_initialize_rbi (bb) cfg_layout_initialize_rbi (basic_block bb)
basic_block bb;
{ {
if (bb->rbi) if (bb->rbi)
abort (); abort ();
...@@ -1097,7 +1096,7 @@ cfg_layout_initialize_rbi (bb) ...@@ -1097,7 +1096,7 @@ cfg_layout_initialize_rbi (bb)
CFG layout changes. It keeps LOOPS up-to-date if not null. */ CFG layout changes. It keeps LOOPS up-to-date if not null. */
void void
cfg_layout_initialize () cfg_layout_initialize (void)
{ {
basic_block bb; basic_block bb;
......
...@@ -574,7 +574,7 @@ emit_bincl_stab (const char *name) ...@@ -574,7 +574,7 @@ emit_bincl_stab (const char *name)
/* If there are pending bincls then it is time to emit all of them. */ /* If there are pending bincls then it is time to emit all of them. */
static inline void static inline void
emit_pending_bincls_if_required () emit_pending_bincls_if_required (void)
{ {
if (pending_bincls) if (pending_bincls)
emit_pending_bincls (); emit_pending_bincls ();
...@@ -583,7 +583,7 @@ emit_pending_bincls_if_required () ...@@ -583,7 +583,7 @@ emit_pending_bincls_if_required ()
/* Emit all pending bincls. */ /* Emit all pending bincls. */
static void static void
emit_pending_bincls () emit_pending_bincls (void)
{ {
struct dbx_file *f = current_file; struct dbx_file *f = current_file;
...@@ -616,7 +616,7 @@ emit_pending_bincls () ...@@ -616,7 +616,7 @@ emit_pending_bincls ()
#else #else
static inline void static inline void
emit_pending_bincls_if_required () {} emit_pending_bincls_if_required (void) {}
#endif #endif
/* Change to reading from a new source file. Generate a N_BINCL stab. */ /* Change to reading from a new source file. Generate a N_BINCL stab. */
......
...@@ -1561,7 +1561,7 @@ init_gcc_specs (struct obstack *obstack, const char *shared_name, ...@@ -1561,7 +1561,7 @@ init_gcc_specs (struct obstack *obstack, const char *shared_name,
/* Initialize the specs lookup routines. */ /* Initialize the specs lookup routines. */
static void static void
init_spec () init_spec (void)
{ {
struct spec_list *next = (struct spec_list *) 0; struct spec_list *next = (struct spec_list *) 0;
struct spec_list *sl = (struct spec_list *) 0; struct spec_list *sl = (struct spec_list *) 0;
...@@ -1802,7 +1802,7 @@ static const char *programname; ...@@ -1802,7 +1802,7 @@ static const char *programname;
/* Allocate the argument vector. */ /* Allocate the argument vector. */
static void static void
alloc_args () alloc_args (void)
{ {
argbuf_length = 10; argbuf_length = 10;
argbuf = (const char **) xmalloc (argbuf_length * sizeof (const char *)); argbuf = (const char **) xmalloc (argbuf_length * sizeof (const char *));
......
...@@ -671,7 +671,7 @@ gen_split (rtx split) ...@@ -671,7 +671,7 @@ gen_split (rtx split)
the end of the vector. */ the end of the vector. */
static void static void
output_add_clobbers () output_add_clobbers (void)
{ {
struct clobber_pat *clobber; struct clobber_pat *clobber;
struct clobber_ent *ent; struct clobber_ent *ent;
......
...@@ -5130,7 +5130,8 @@ struct case_bit_test ...@@ -5130,7 +5130,8 @@ struct case_bit_test
/* Determine whether "1 << x" is relatively cheap in word_mode. */ /* 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 init = false;
static bool cheap = true; static bool cheap = true;
...@@ -5150,9 +5151,8 @@ static bool lshift_cheap_p () ...@@ -5150,9 +5151,8 @@ static bool lshift_cheap_p ()
number of case nodes, i.e. the node with the most cases gets number of case nodes, i.e. the node with the most cases gets
tested first. */ tested first. */
static int case_bit_test_cmp (p1, p2) static
const void *p1; int case_bit_test_cmp (const void *p1, const void *p2)
const void *p2;
{ {
const struct case_bit_test *d1 = p1; const struct case_bit_test *d1 = p1;
const struct case_bit_test *d2 = p2; const struct case_bit_test *d2 = p2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment