This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove warning in cp/class.c
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Subject: Remove warning in cp/class.c
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Tue, 10 Jul 2001 02:35:03 -0000
- Cc: "'jason_merrill at redhat dot com'" <jason_merrill at redhat dot com>
This removes a "function declaration isn't a prototype" warning in class.c.
Please apply if OK.
2001-07-10 David Billinghurst <David.Billinghurst@riotinto.com>
* class.c: Declare binfo_ctor_vtable
RCS file: /cvs/gcc/gcc/gcc/cp/class.c,v
retrieving revision 1.390
diff -u -r1.390 class.c
--- class.c 2001/06/18 11:17:53 1.390
+++ class.c 2001/07/10 02:31:56
@@ -217,6 +217,7 @@
static int splay_tree_compare_integer_csts PARAMS ((splay_tree_key k1,
splay_tree_key k2));
static void warn_about_ambiguous_direct_bases PARAMS ((tree));
+static tree binfo_ctor_vtable PARAMS ((tree));
/* Macros for dfs walking during vtt construction. See
dfs_ctor_vtable_bases_queue_p, dfs_build_secondary_vptr_vtt_inits