Convert to ISO C90 prototypes.
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Sep 2003 21:49:01 +0000 (21:49 +0000)
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Sep 2003 21:49:01 +0000 (21:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71957 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 2cd55bc..0e2ae23 100644 (file)
@@ -1,5 +1,10 @@
 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/winnt.c: Likewise.
        * config/i386/cygming.h: Likewise.
index 25f58b0..4c99f87 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 d3407a3..4951ff3 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 ec5912f..1d1799c 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 24fcffe..42141a4 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 5d1a3d5..59309cc 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);