This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add back _initialize_i386_tdep prototype
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Add back _initialize_i386_tdep prototype
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Wed, 21 Mar 2001 12:27:16 +0100
Per Andrews comment about -Wmissing-prototypes.
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c: Add back _initialize_i386_tdep prototype with
appropriate comment.
Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.21
diff -u -p -r1.21 i386-tdep.c
--- i386-tdep.c 2001/03/17 22:28:33 1.21
+++ i386-tdep.c 2001/03/21 11:20:24
@@ -959,6 +959,9 @@ set_disassembly_flavor (void)
}
+/* Provide a prototype to silence -Wmissing-prototypes. */
+void _initialize_i386_tdep (void);
+
void
_initialize_i386_tdep (void)
{