From 76648a8bad33fe3207eedc498a44859f7d5318e8 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 4 Nov 2001 02:20:02 +0000 Subject: * lex.c (copy_lang_type): Add static prototype. From-SVN: r46756 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/lex.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * lex.c (copy_lang_type): Add static prototype. + 2001-11-02 Kriang Lerdsuwanakij * 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; { -- cgit v1.1