cp-tree.h (build_type_conversion): Remove prototype.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 13 Feb 2006 22:37:02 +0000 (22:37 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 13 Feb 2006 22:37:02 +0000 (22:37 +0000)
* cp-tree.h (build_type_conversion): Remove prototype.
* cvt.c (build_type_conversion): Add prototype, make static.

From-SVN: r110935

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c

index 9852864959e688cbdc8c901a9238a2d63a82f4b6..8f4de4d6308c97d137c486bc9a7d26ca20d0a5a6 100644 (file)
@@ -1,5 +1,8 @@
 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.
        (pop_tinst_level): Likewise.
        * pt.c (push_tinst_level): Add prototype, make static.
index aa6876aef8e0fdee7e404378861d87bd291ae7ea..b102860f263e17b44db3c17d6d0e122dff9f03b2 100644 (file)
@@ -3758,7 +3758,6 @@ extern tree ocp_convert                           (tree, tree, int, int);
 extern tree cp_convert                         (tree, tree);
 extern tree convert_to_void    (tree, const char */*implicit context*/);
 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 type_promotes_to                   (tree);
 extern tree perform_qualification_conversions  (tree, tree);
index 4dd1e1047aec00ab2f2ed3052b89d65b83dc65d3..abdb4990a8bc18e850eec119a518c5c10cfc329c 100644 (file)
@@ -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