This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Add missing prototype in i386bsd-nat.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Thu, 12 Apr 2012 12:32:32 +0200 (CEST)
- Subject: [PATCH] Add missing prototype in i386bsd-nat.c
Committed as obvious.
2012-04-12 Mark Kettenis <kettenis@gnu.org>
* i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
Index: i386bsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386bsd-nat.c,v
retrieving revision 1.47
diff -u -p -r1.47 i386bsd-nat.c
--- i386bsd-nat.c 4 Jan 2012 08:17:04 -0000 1.47
+++ i386bsd-nat.c 12 Apr 2012 10:26:16 -0000
@@ -331,6 +331,9 @@ i386bsd_dr_get_control (void)
#endif /* PT_GETDBREGS */
+/* Provide a prototype to silence -Wmissing-prototypes. */
+void _initialize_i386bsd_nat (void);
+
void
_initialize_i386bsd_nat (void)
{