summaryrefslogtreecommitdiff
path: root/gdb/proc-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-service.c')
-rw-r--r--gdb/proc-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index a07c9a4e860..425afd9b0fb 100644
--- a/gdb/proc-service.c
+++ b/gdb/proc-service.c
@@ -335,6 +335,9 @@ ps_getpid (gdb_ps_prochandle_t ph)
return ph->pid;
}
+/* Provide a prototype to silence -Wmissing-prototypes. */
+extern initialize_file_ftype _initialize_proc_service;
+
void
_initialize_proc_service (void)
{