Convert to ISO C90 prototypes.
authorKelley Cook <kelleycook@wideopenwest.com>
Tue, 30 Sep 2003 21:49:01 +0000 (21:49 +0000)
committerR. Kelley Cook <kcook@gcc.gnu.org>
Tue, 30 Sep 2003 21:49:01 +0000 (21:49 +0000)
From-SVN: r71957

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/g++spec.c
gcc/cp/parser.c
gcc/objc/objc-act.c
gcc/sdbout.c

index 2cd55bcbaba1d2ca04107b257f20217ea279cb64..0e2ae234b93381de9eb029917e1e1d57fef95a3e 100644 (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.
index 25f58b0e07849bd75885cd10fd53bffbc2bc0b9a..4c99f87eb6bd32ad1487af926a27a771aeca3177 100644 (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
index d3407a31604474021ba2bec14883922c012dcb30..4951ff3211e9ed391f480bc6022c9ae308e6f202 100644 (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;
 }
index ec5912f88d8460a21a4e9eba28a8cc506c4d9ade..1d1799cec04a6fcfa85a8648363f64d1b0f27db5 100644 (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));
 }
index 24fcffebb9be94ed03cdaaac85e3bd67db350f0f..42141a4ab42d9aa26f11383a4eef9891e6415798 100644 (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;
 
index 5d1a3d56c2b7284d8fe4071060c135363d527d71..59309cceb0c2b442b71b2c22fe4fb93d3552e6ca 100644 (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);