diff options
author | Yao Qi <yao@codesourcery.com> | 2014-02-17 11:20:35 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-02-17 11:26:12 +0800 |
commit | 842c05cd1acd244a962d89a824b4b496ce965556 (patch) | |
tree | 142e7ea139d3695f1a022c8fba15050981df31b9 /readline/rlconf.h | |
parent | 25c0bd040bc22fcb2fc3ec440ace2552ca030a7f (diff) | |
download | gdb-842c05cd1acd244a962d89a824b4b496ce965556.zip gdb-842c05cd1acd244a962d89a824b4b496ce965556.tar.gz gdb-842c05cd1acd244a962d89a824b4b496ce965556.tar.bz2 |
Fix missing-prototypes warnings in gnu-nat.c
A recent change (commit 3398af6aa352b0611bc9d66aed72080a876e42d4)
in gnu-nat.c causes the some missing-prototypes warnings,
../../../git/gdb/gnu-nat.c:1864:1: error: no previous prototype for 'S_proc_pid2task_reply' [-Werror=missing-prototypes]
../../../git/gdb/gnu-nat.c:1866:1: error: no previous prototype for 'S_proc_task2pid_reply' [-Werror=missing-prototypes]
../../../git/gdb/gnu-nat.c:1868:1: error: no previous prototype for 'S_proc_task2proc_reply' [-Werror=missing-prototypes]
A new macro ILL_RPC was added recently, which defines some external
functions. However, they are not declared and GCC complains about this.
This patch is to add the declarations of these external function in
macro ILL_RPC.
gdb:
2014-02-17 Yao Qi <yao@codesourcery.com>
* gnu-nat.c (ILL_RPC): Declare defined function.
Diffstat (limited to 'readline/rlconf.h')
0 files changed, 0 insertions, 0 deletions