* go32-nat.c: Declare _initialize_go32_nat.
* ser-go32.c: Declare _initialize_ser_dos.
* top.c (do_chdir_cleanup): Add 'static'.
+2012-07-31 Yao Qi <yao@codesourcery.com>
+
+ * go32-nat.c: Declare _initialize_go32_nat.
+ * ser-go32.c: Declare _initialize_ser_dos.
+ * top.c (do_chdir_cleanup): Add 'static'.
+
2012-07-30 Keith Seitz <keiths@redhat.com>
* linespec.c (linespec_lex_number): A number followed
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)
{
#endif
}
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_ser_dos;
void
_initialize_ser_dos (void)
void (*pre_init_ui_hook) (void);
#ifdef __MSDOS__
-void
+static void
do_chdir_cleanup (void *old_dir)
{
chdir (old_dir);