Commit bf9d3c27 by Kelley Cook Committed by R. Kelley Cook

Convert to ISO C90 prototypes.

From-SVN: r71957
parent 6594e599
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com> 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. * config/i386/cygwin1.c: Convert to ISO C90 prototypes.
* config/i386/winnt.c: Likewise. * config/i386/winnt.c: Likewise.
* config/i386/cygming.h: Likewise. * config/i386/cygming.h: Likewise.
......
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> 2003-09-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
* decl.c (pop_binding): Don't mess with nullifying binding->scope * decl.c (pop_binding): Don't mess with nullifying binding->scope
......
...@@ -330,7 +330,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, ...@@ -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. */ /* 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; return 0;
} }
......
...@@ -126,7 +126,7 @@ static void cp_token_cache_push_token ...@@ -126,7 +126,7 @@ static void cp_token_cache_push_token
/* Create a new cp_token_cache. */ /* Create a new cp_token_cache. */
static cp_token_cache * static cp_token_cache *
cp_token_cache_new () cp_token_cache_new (void)
{ {
return ggc_alloc_cleared (sizeof (cp_token_cache)); return ggc_alloc_cleared (sizeof (cp_token_cache));
} }
......
...@@ -3125,7 +3125,7 @@ objc_build_catch_epilogue (void) ...@@ -3125,7 +3125,7 @@ objc_build_catch_epilogue (void)
} }
tree tree
objc_build_finally_prologue () objc_build_finally_prologue (void)
{ {
/* { // begin FINALLY scope /* { // begin FINALLY scope
if (!_rethrowException) { if (!_rethrowException) {
...@@ -4556,8 +4556,7 @@ generate_ivars_list (tree type, const char *name, int size, tree list) ...@@ -4556,8 +4556,7 @@ generate_ivars_list (tree type, const char *name, int size, tree list)
/* Count only the fields occurring in T. */ /* Count only the fields occurring in T. */
static int static int
ivar_list_length (t) ivar_list_length (tree t)
tree t;
{ {
int count = 0; int count = 0;
......
...@@ -1536,9 +1536,7 @@ sdbout_end_block (unsigned int line, unsigned int n ATTRIBUTE_UNUSED) ...@@ -1536,9 +1536,7 @@ sdbout_end_block (unsigned int line, unsigned int n ATTRIBUTE_UNUSED)
number LINE. */ number LINE. */
static void static void
sdbout_source_line (line, filename) sdbout_source_line (unsigned int line, const char *filename ATTRIBUTE_UNUSED)
unsigned int line;
const char *filename ATTRIBUTE_UNUSED;
{ {
/* COFF relative line numbers must be positive. */ /* COFF relative line numbers must be positive. */
if ((int) line > sdb_begin_function_line) if ((int) line > sdb_begin_function_line)
...@@ -1578,9 +1576,7 @@ sdbout_begin_prologue (unsigned int line, const char *file ATTRIBUTE_UNUSED) ...@@ -1578,9 +1576,7 @@ sdbout_begin_prologue (unsigned int line, const char *file ATTRIBUTE_UNUSED)
#endif #endif
static void static void
sdbout_end_prologue (line, file) sdbout_end_prologue (unsigned int line, const char *file ATTRIBUTE_UNUSED)
unsigned int line;
const char *file ATTRIBUTE_UNUSED;
{ {
sdb_begin_function_line = line - 1; sdb_begin_function_line = line - 1;
PUT_SDB_FUNCTION_START (line); PUT_SDB_FUNCTION_START (line);
......
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