diff options
author | Pedro Alves <palves@redhat.com> | 2014-01-15 16:18:04 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-01-15 16:18:04 +0000 |
commit | e40adcc9f8ba2dd64fdee98013ee0a98031684ea (patch) | |
tree | 769b05b99b0f1a57c2c947ba6d6783a850154e9f /gdb/ChangeLog | |
parent | f9c316c4d75be236bbaa8464ef803ed2d3859d6d (diff) | |
download | gdb-e40adcc9f8ba2dd64fdee98013ee0a98031684ea.zip gdb-e40adcc9f8ba2dd64fdee98013ee0a98031684ea.tar.gz gdb-e40adcc9f8ba2dd64fdee98013ee0a98031684ea.tar.bz2 |
Fix go32-nat.c build fallout from to_detach constification.
The recent constification of to_detach missed updating the forward
declaration of go32_detach, breaking the build:
../../src/gdb/go32-nat.c:387:1: error: conflicting types for 'go32_detach'
../../src/gdb/go32-nat.c:240:13: note: previous declaration of 'go32_detach' was here
go32_detach is actually defined before it's ever used, making the
forward declaration is unnecessary. So we can just remove it instead
of updating it. While at it, remove all others in the same situation.
Tested by building a djgpp gdb.
gdb/
2014-01-15 Pedro Alves <palves@redhat.com>
* go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
(go32_resume, go32_fetch_registers, store_register)
(go32_store_registers, go32_prepare_to_store)
(go32_xfer_memory, go32_files_info, go32_kill_inferior)
(go32_create_inferior, go32_can_run, go32_terminal_init)
(go32_terminal_inferior, go32_terminal_ours): Delete forward
declarations.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e3b3eaa..6c51b84 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2014-01-15 Pedro Alves <palves@redhat.com> + + * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) + (go32_resume, go32_fetch_registers, store_register) + (go32_store_registers, go32_prepare_to_store) + (go32_xfer_memory, go32_files_info, go32_kill_inferior) + (go32_create_inferior, go32_can_run, go32_terminal_init) + (go32_terminal_inferior, go32_terminal_ours): Delete forward + declarations. + 2014-01-15 Tom Tromey <tromey@redhat.com> * target.h (async_callback_ftype): New typedef. |