diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-05 15:05:44 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-01-07 11:01:27 +0800 |
commit | 3aa8c9698a0e604eab7a1e913b09b6506ce00c4c (patch) | |
tree | b65675b7cf76b22e337498865b73cbd21cb27498 /gdb/gnu-nat.c | |
parent | 94123b4f917eb03353fa46a43ea1fd7c37f3fb55 (diff) | |
download | gdb-3aa8c9698a0e604eab7a1e913b09b6506ce00c4c.zip gdb-3aa8c9698a0e604eab7a1e913b09b6506ce00c4c.tar.gz gdb-3aa8c9698a0e604eab7a1e913b09b6506ce00c4c.tar.bz2 |
Fix no previous prototype for '_initialize_gnu_nat' [-Werror=missing-prototypes]
This patch fixes this error below by declaring _initialize_gnu_nat.
../../../git/gdb/gnu-nat.c:3447:1: error: no previous prototype for '_initialize_gnu_nat' [-Werror=missing-prototypes]
gdb:
2014-01-07 Yao Qi <yao@codesourcery.com>
* gnu-nat.c (_initialize_gnu_nat): Declare.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index a1af9aa..8c45dcf 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -3439,6 +3439,10 @@ to the thread's initial suspend-count when gdb notices the threads."), } + +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_gnu_nat; + void _initialize_gnu_nat (void) { |