aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-07-31 06:16:09 +0000
committerYao Qi <yao@codesourcery.com>2012-07-31 06:16:09 +0000
commit70976b65519d4f91bb0345335d7419f2f69eec8c (patch)
tree641d66a4b568e946d4ec5bf7b5786286f76d1c2b /gdb/go32-nat.c
parenta8dafa24fbea59c90a3d0cae84f140352784bc4c (diff)
downloadgdb-70976b65519d4f91bb0345335d7419f2f69eec8c.zip
gdb-70976b65519d4f91bb0345335d7419f2f69eec8c.tar.gz
gdb-70976b65519d4f91bb0345335d7419f2f69eec8c.tar.bz2
gdb/
* go32-nat.c: Declare _initialize_go32_nat. * ser-go32.c: Declare _initialize_ser_dos. * top.c (do_chdir_cleanup): Add 'static'.
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r--gdb/go32-nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index b8fe284..d848017 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -2097,6 +2097,9 @@ go32_info_dos_command (char *args, int from_tty)
help_list (info_dos_cmdlist, "info dos ", class_info, gdb_stdout);
}
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_go32_nat;
+
void
_initialize_go32_nat (void)
{