OSDN Git Service

* cp-tree.h (build_type_conversion): Remove prototype.
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2006 22:37:02 +0000 (22:37 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2006 22:37:02 +0000 (22:37 +0000)
* 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

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

index 9852864..8f4de4d 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 aa6876a..b102860 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 4dd1e10..abdb499 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