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
This commit is contained in:
Volker Reichelt 2006-02-13 22:37:02 +00:00 committed by Volker Reichelt
parent aa9d8196d7
commit ae00383baa
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
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.

View File

@ -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);

View File

@ -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)
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