aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386bsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2012-04-12 10:32:23 +0000
committerMark Kettenis <kettenis@gnu.org>2012-04-12 10:32:23 +0000
commit15add3f5e46f265033c3c03c375559682e4ea268 (patch)
tree16c592c2d8c086be0ead65cc7833cd95b64da97a /gdb/i386bsd-nat.c
parent465cb9fba7be3d6b6e85d07f1c7a5973c61b51ff (diff)
downloadfsf-binutils-gdb-15add3f5e46f265033c3c03c375559682e4ea268.zip
fsf-binutils-gdb-15add3f5e46f265033c3c03c375559682e4ea268.tar.gz
fsf-binutils-gdb-15add3f5e46f265033c3c03c375559682e4ea268.tar.bz2
* i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
Diffstat (limited to 'gdb/i386bsd-nat.c')
-rw-r--r--gdb/i386bsd-nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 0cc6d8d..7bc906f 100644
--- a/gdb/i386bsd-nat.c
+++ b/gdb/i386bsd-nat.c
@@ -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)
{