summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-04 02:20:02 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-04 02:20:02 +0000
commitf6020ad06e9ede8f429e9b6d24f1e4c5dccb6d20 (patch)
tree13037d8e5863e9979ef64343999c689ba1747017
parentfeb9af9f2319222202f04932130518208c00fd8b (diff)
downloadppe42-gcc-f6020ad06e9ede8f429e9b6d24f1e4c5dccb6d20.tar.gz
ppe42-gcc-f6020ad06e9ede8f429e9b6d24f1e4c5dccb6d20.zip
* lex.c (copy_lang_type): Add static prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46756 138bc75d-0d04-0410-961f-82ee72b054a4
-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