aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-11-04 02:20:02 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-11-04 02:20:02 +0000
commit76648a8bad33fe3207eedc498a44859f7d5318e8 (patch)
tree13037d8e5863e9979ef64343999c689ba1747017
parent1943c2c1ad758b5fe93a09acf3083c55b836a747 (diff)
downloadgcc-76648a8bad33fe3207eedc498a44859f7d5318e8.zip
gcc-76648a8bad33fe3207eedc498a44859f7d5318e8.tar.gz
gcc-76648a8bad33fe3207eedc498a44859f7d5318e8.tar.bz2
* lex.c (copy_lang_type): Add static prototype.
From-SVN: r46756
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/lex.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 8016de5..1cc0cf6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * lex.c (copy_lang_type): Add static prototype.
+
2001-11-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* pt.c (unify): Handle SCOPE_REF.
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index ccd57a2..b655b09 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -71,6 +71,7 @@ static int token_cmp PARAMS ((int *, int *));
#endif
static int is_global PARAMS ((tree));
static void init_operators PARAMS ((void));
+static void copy_lang_type PARAMS ((tree));
/* A constraint that can be tested at compile time. */
#ifdef __STDC__
@@ -1573,7 +1574,7 @@ copy_decl (decl)
/* Replace the shared language-specific parts of NODE with a new copy. */
-void
+static void
copy_lang_type (node)
tree node;
{