summaryrefslogtreecommitdiff
path: root/gdb/mingw-hdep.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-03-02 12:56:48 +0000
committerqiyao <qiyao>2012-03-02 12:56:48 +0000
commita12e18f74ada8c042bd5521696481451e6f77747 (patch)
treebf79939602f2d12403aee671481d85ac615a1491 /gdb/mingw-hdep.c
parent1bff93fc562a4dd58bb9cad0cd6435665bf5b395 (diff)
downloadgdb-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/mingw-hdep.c')
-rw-r--r--gdb/mingw-hdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/mingw-hdep.c b/gdb/mingw-hdep.c
index 331708f9d54..ed06c5661f5 100644
--- a/gdb/mingw-hdep.c
+++ b/gdb/mingw-hdep.c
@@ -251,6 +251,9 @@ gdb_call_async_signal_handler (struct async_signal_handler *handler,
SetEvent (sigint_event);
}
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_mingw_hdep;
+
void
_initialize_mingw_hdep (void)
{