summaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 8cd87e11992..a1726bd5439 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -543,6 +543,9 @@ unset_exec_wrapper_command (char *args, int from_tty)
exec_wrapper = NULL;
}
+/* Provide a prototype to silence -Wmissing-prototypes. */
+extern initialize_file_ftype _initialize_fork_child;
+
void
_initialize_fork_child (void)
{