[C++/mingw] ser-mingw.c casts
authorPedro Alves <palves@redhat.com>
Tue, 17 Nov 2015 15:17:44 +0000 (15:17 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 17 Nov 2015 15:17:44 +0000 (15:17 +0000)
commitcd78b7a16778046c0cfa4818780ea94a9a90c32c
tree569d8fd9ee4a0be120a98dd198895bf6c6fa5cfd
parentc25b1ab690ddeeba239a044c8d0086867de30f93
[C++/mingw] ser-mingw.c casts

2015-11-17  Pedro Alves  <palves@redhat.com>

* ser-mingw.c (CancelIo_ftype): New typedef.
(CancelIo): Use CancelIo_ftype.
(ser_windows_close, ser_windows_wait_handle)
(ser_windows_read_prim, stop_select_thread)
(console_select_thread, pipe_select_thread, file_select_thread)
(ser_console_wait_handle, ser_console_done_wait_handle)
(ser_console_close, cleanup_pipe_state, pipe_windows_close)
(pipe_windows_write, pipe_wait_handle, pipe_done_wait_handle)
(net_windows_socket_check_pending, net_windows_select_thread)
(net_windows_wait_handle, net_windows_done_wait_handle)
(net_windows_close): Add casts.
(_initialize_ser_windows): Cast to CancelIo_ftype* instead of
void*.
gdb/ChangeLog
gdb/ser-mingw.c