diff options
author | qiyao <qiyao> | 2012-03-02 12:56:48 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-03-02 12:56:48 +0000 |
commit | a12e18f74ada8c042bd5521696481451e6f77747 (patch) | |
tree | bf79939602f2d12403aee671481d85ac615a1491 /gdb/i386-windows-nat.c | |
parent | 1bff93fc562a4dd58bb9cad0cd6435665bf5b395 (diff) | |
download | gdb-a12e18f74ada8c042bd5521696481451e6f77747.tar.gz |
gdb/
Fix -Wmissing-prototypes build.
* charset.c (phony_iconv_open): Make static.
(phony_iconv_close, phony_iconv): Likewise.
* i386-linux-nat.c (_initialize_i386_linux_nat): New prototype.
* i386-windows-nat.c (_initialize_i386_windows_nat): New
prototype.
* mingw-hdep.c (_initialize_mingw_hdep): New prototype.
* ser-mingw.c (create_select_thread): Make static.
* windows-termcap.c (tgetent): New prototype.
(tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise.
Diffstat (limited to 'gdb/i386-windows-nat.c')
-rw-r--r-- | gdb/i386-windows-nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386-windows-nat.c b/gdb/i386-windows-nat.c index 9c467fb6098..5d93915a72a 100644 --- a/gdb/i386-windows-nat.c +++ b/gdb/i386-windows-nat.c @@ -70,6 +70,9 @@ static const int mappings[] = }; #undef context_offset +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_i386_windows_nat; + void _initialize_i386_windows_nat (void) { |