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
This commit is contained in:
Andreas Jaeger 2003-07-06 22:42:56 +02:00 committed by Andreas Jaeger
parent 77f9b92ca4
commit 7e51717cfb
6 changed files with 18 additions and 13 deletions

View 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.

View File

@ -1084,8 +1084,7 @@ cfg_layout_duplicate_bb (basic_block bb, edge e)
}
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;

View 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. */

View File

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

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

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