summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 8016de51c5f..1cc0cf6c7b7 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 ccd57a21345..b655b0974fa 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;
{
OpenPOWER on IntegriCloud