diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/go32-nat.c | 3 | ||||
-rw-r--r-- | gdb/ser-go32.c | 2 | ||||
-rw-r--r-- | gdb/top.c | 2 |
4 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3bc3450..661a0d6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +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 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) { diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c index ad01191..73f69c5 100644 --- a/gdb/ser-go32.c +++ b/gdb/ser-go32.c @@ -909,6 +909,8 @@ dos_info (char *arg, int from_tty) #endif } +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_ser_dos; void _initialize_ser_dos (void) @@ -336,7 +336,7 @@ read_command_file (FILE *stream) void (*pre_init_ui_hook) (void); #ifdef __MSDOS__ -void +static void do_chdir_cleanup (void *old_dir) { chdir (old_dir); |