diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:32:33 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-04-27 18:32:33 +0000 |
commit | a0911fd0206cb727a3fd2f9b1227121bdd616838 (patch) | |
tree | 4712a1deed92a21b69a86ab3170b4d4c695a816e /gdb/proc-api.c | |
parent | 9009e1ae5f13e12f572907c251f503fba53c9966 (diff) | |
download | gdb-a0911fd0206cb727a3fd2f9b1227121bdd616838.zip gdb-a0911fd0206cb727a3fd2f9b1227121bdd616838.tar.gz gdb-a0911fd0206cb727a3fd2f9b1227121bdd616838.tar.bz2 |
* 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 19732a7..876d08c 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) { |