diff options
author | Kelley Cook <kelleycook@wideopenwest.com> | 2003-09-30 21:49:01 +0000 |
---|---|---|
committer | R. Kelley Cook <kcook@gcc.gnu.org> | 2003-09-30 21:49:01 +0000 |
commit | bf9d3c27744bc5f86b3fa3d75e67552178c283ad (patch) | |
tree | f696e6f16bcc7d0e38799d437bbf748a8fc9d0c0 /gcc/cp | |
parent | 6594e599c3afe54b0ebe35a3fc1c246066a13850 (diff) | |
download | gcc-bf9d3c27744bc5f86b3fa3d75e67552178c283ad.zip gcc-bf9d3c27744bc5f86b3fa3d75e67552178c283ad.tar.gz gcc-bf9d3c27744bc5f86b3fa3d75e67552178c283ad.tar.bz2 |
Convert to ISO C90 prototypes.
From-SVN: r71957
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/g++spec.c | 2 | ||||
-rw-r--r-- | gcc/cp/parser.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 25f58b0..4c99f87 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 d3407a3..4951ff3 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 ec5912f..1d1799c 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)); } |