This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]