Commit ae00383b by Volker Reichelt Committed by Volker Reichelt

cp-tree.h (build_type_conversion): Remove prototype.

	* cp-tree.h (build_type_conversion): Remove prototype.
	* cvt.c (build_type_conversion): Add prototype, make static.

From-SVN: r110935
parent aa9d8196
2006-02-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 2006-02-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* cp-tree.h (build_type_conversion): Remove prototype.
* cvt.c (build_type_conversion): Add prototype, make static.
* cp-tree.h (push_tinst_level): Remove prototype. * cp-tree.h (push_tinst_level): Remove prototype.
(pop_tinst_level): Likewise. (pop_tinst_level): Likewise.
* pt.c (push_tinst_level): Add prototype, make static. * pt.c (push_tinst_level): Add prototype, make static.
......
...@@ -3758,7 +3758,6 @@ extern tree ocp_convert (tree, tree, int, int); ...@@ -3758,7 +3758,6 @@ extern tree ocp_convert (tree, tree, int, int);
extern tree cp_convert (tree, tree); extern tree cp_convert (tree, tree);
extern tree convert_to_void (tree, const char */*implicit context*/); extern tree convert_to_void (tree, const char */*implicit context*/);
extern tree convert_force (tree, tree, int); extern tree convert_force (tree, tree, int);
extern tree build_type_conversion (tree, tree);
extern tree build_expr_type_conversion (int, tree, bool); extern tree build_expr_type_conversion (int, tree, bool);
extern tree type_promotes_to (tree); extern tree type_promotes_to (tree);
extern tree perform_qualification_conversions (tree, tree); extern tree perform_qualification_conversions (tree, tree);
......
...@@ -40,6 +40,7 @@ Boston, MA 02110-1301, USA. */ ...@@ -40,6 +40,7 @@ Boston, MA 02110-1301, USA. */
static tree cp_convert_to_pointer (tree, tree, bool); static tree cp_convert_to_pointer (tree, tree, bool);
static tree convert_to_pointer_force (tree, tree); 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 tree build_up_reference (tree, tree, int, tree);
static void warn_ref_binding (tree, tree, tree); static void warn_ref_binding (tree, tree, tree);
...@@ -1035,7 +1036,7 @@ convert_force (tree type, tree expr, int convtype) ...@@ -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. that doesn't do it. This will probably wait for an overloading rewrite.
(jason 8/9/95) */ (jason 8/9/95) */
tree static tree
build_type_conversion (tree xtype, tree expr) build_type_conversion (tree xtype, tree expr)
{ {
/* C++: check to see if we can convert this aggregate type /* C++: check to see if we can convert this aggregate type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment