summaryrefslogtreecommitdiff
path: root/gcc/cp/cvt.c
diff options
context:
space:
mode:
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-13 22:37:02 +0000
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-13 22:37:02 +0000
commitef9571e54669522a54d7e4615073acdf1b9bc983 (patch)
tree17f4b43b3cc2065140f0915a541e005daa40817f /gcc/cp/cvt.c
parent66b60ad2ebb53f55f864396f3165796d1f4777f0 (diff)
downloadgcc-ef9571e54669522a54d7e4615073acdf1b9bc983.tar.gz
* cp-tree.h (build_type_conversion): Remove prototype.
* cvt.c (build_type_conversion): Add prototype, make static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cvt.c')
-rw-r--r--gcc/cp/cvt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/cvt.c b/gcc/cp/cvt.c
index 4dd1e1047ae..abdb4990a8b 100644
--- a/gcc/cp/cvt.c
+++ b/gcc/cp/cvt.c
@@ -40,6 +40,7 @@ Boston, MA 02110-1301, USA. */
static tree cp_convert_to_pointer (tree, tree, bool);
static tree convert_to_pointer_force (tree, tree);
+static tree build_type_conversion (tree, tree);
static tree build_up_reference (tree, tree, int, tree);
static void warn_ref_binding (tree, tree, tree);
@@ -1035,7 +1036,7 @@ convert_force (tree type, tree expr, int convtype)
that doesn't do it. This will probably wait for an overloading rewrite.
(jason 8/9/95) */
-tree
+static tree
build_type_conversion (tree xtype, tree expr)
{
/* C++: check to see if we can convert this aggregate type