summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-30 21:49:01 +0000
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-30 21:49:01 +0000
commit808ea0c9a400ee863543d2c294d795d34979d625 (patch)
treef696e6f16bcc7d0e38799d437bbf748a8fc9d0c0 /gcc
parent65b03ed4d686ce5e61fdeebaba792f188ae7819e (diff)
downloadgcc-808ea0c9a400ee863543d2c294d795d34979d625.tar.gz
Convert to ISO C90 prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71957 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/g++spec.c2
-rw-r--r--gcc/cp/parser.c2
-rw-r--r--gcc/objc/objc-act.c5
-rw-r--r--gcc/sdbout.c8
6 files changed, 16 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2cd55bcbaba..0e2ae234b93 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 25f58b0e078..4c99f87eb6b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c
index d3407a31604..4951ff3211e 100644
--- a/gcc/cp/g++spec.c
+++ b/gcc/cp/g++spec.c
@@ -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;
}
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index ec5912f88d8..1d1799cec04 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -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));
}
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 24fcffebb9b..42141a4ab42 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -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;
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 5d1a3d56c2b..59309cceb0c 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -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);