diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:32:32 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:32:32 +0000 |
commit | d358f35aae30f3d7e71b7c4195a48ced4c94c509 (patch) | |
tree | 4824dfae2313d1e2b98b182987aaba62ac5f14d6 /gdb/proc-api.c | |
parent | bd811fa197ffe6e18dcd3b2ef64decb8a9e86b98 (diff) | |
download | gdb-d358f35aae30f3d7e71b7c4195a48ced4c94c509.tar.gz |
* proc-utils.h (proc_prettyprint_signalset): New prototype.
(proc_prettyprint_signal): Likewise.
(proc_prettyprint_faultset): Likewise.
(proc_prettyprint_fault): Likewise.
(proc_prettyprint_actionset): Likewise.
(proc_prettyprint_flags): Move to new proc-flags.c section.
(proc_prettyfprint_flags): New prototype.
* procfs.c (proc_nsysarg, proc_sysargs): Add prototypes.
(proc_syscall, proc_cursig): Likewise.
(proc_set_kill_on_last_close): Likewise.
(proc_unset_kill_on_last_close): Likewise.
(proc_set_watchpoint): Make static.
(proc_delete_dead_threads): Likewise.
(procfs_set_watchpoint): Likewise.
(_initialize_procfs): Add prototype.
* proc-events.c: Include proc-utils.h.
(init_syscall_table): Make static.
* proc-api.c (_initialize_proc_api): Add prototype.
* proc-flags.c: Include proc-utils.h.
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r-- | gdb/proc-api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 19732a74823..876d08c246d 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -775,6 +775,9 @@ proc_prettyfprint_status (long flags, int why, int what, int thread) } +/* Provide a prototype to silence -Wmissing-prototypes. */ +extern void _initialize_proc_api (void); + void _initialize_proc_api (void) { |