Convert to ISO C90 prototypes.

From-SVN: r71957
This commit is contained in:
Kelley Cook 2003-09-30 21:49:01 +00:00 committed by R. Kelley Cook
parent 6594e599c3
commit bf9d3c2774
6 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
* sdbout.c: Convert to ISO C90 prototypes.
* objc/objc-act.c: Likewise.
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
* config/i386/cygwin1.c: Convert to ISO C90 prototypes.

View File

@ -1,3 +1,8 @@
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com>
* g++spec.c: Convert to ISO C90 prototypes.
* parser.c: Likewise.
2003-09-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
* decl.c (pop_binding): Don't mess with nullifying binding->scope

View File

@ -330,7 +330,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
}
/* Called before linking. Returns 0 on success and -1 on failure. */
int lang_specific_pre_link () /* Not used for C++. */
int lang_specific_pre_link (void) /* Not used for C++. */
{
return 0;
}

View File

@ -126,7 +126,7 @@ static void cp_token_cache_push_token
/* Create a new cp_token_cache. */
static cp_token_cache *
cp_token_cache_new ()
cp_token_cache_new (void)
{
return ggc_alloc_cleared (sizeof (cp_token_cache));
}

View File

@ -3125,7 +3125,7 @@ objc_build_catch_epilogue (void)
}
tree
objc_build_finally_prologue ()
objc_build_finally_prologue (void)
{
/* { // begin FINALLY scope
if (!_rethrowException) {
@ -4556,8 +4556,7 @@ generate_ivars_list (tree type, const char *name, int size, tree list)
/* Count only the fields occurring in T. */
static int
ivar_list_length (t)
tree t;
ivar_list_length (tree t)
{
int count = 0;

View File

@ -1536,9 +1536,7 @@ sdbout_end_block (unsigned int line, unsigned int n ATTRIBUTE_UNUSED)
number LINE. */
static void
sdbout_source_line (line, filename)
unsigned int line;
const char *filename ATTRIBUTE_UNUSED;
sdbout_source_line (unsigned int line, const char *filename ATTRIBUTE_UNUSED)
{
/* COFF relative line numbers must be positive. */
if ((int) line > sdb_begin_function_line)
@ -1578,9 +1576,7 @@ sdbout_begin_prologue (unsigned int line, const char *file ATTRIBUTE_UNUSED)
#endif
static void
sdbout_end_prologue (line, file)
unsigned int line;
const char *file ATTRIBUTE_UNUSED;
sdbout_end_prologue (unsigned int line, const char *file ATTRIBUTE_UNUSED)
{
sdb_begin_function_line = line - 1;
PUT_SDB_FUNCTION_START (line);