Add target_ops argument to to_fileio_close
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_close>: Add argument. * target.c (target_fileio_close): Add argument. * remote.c (remote_hostio_close): Add 'self' argument. (remote_hostio_close_cleanup): Update. (remote_bfd_iovec_close, remote_file_put, remote_file_get): Update. * inf-child.c (inf_child_fileio_close): Add 'self' argument.
This commit is contained in:
parent
a3be983cee
commit
df39ea259c
5 changed files with 18 additions and 8 deletions
|
@ -736,7 +736,7 @@ struct target_ops
|
|||
|
||||
/* Close FD on the target. Return 0, or -1 if an error occurs
|
||||
(and set *TARGET_ERRNO). */
|
||||
int (*to_fileio_close) (int fd, int *target_errno);
|
||||
int (*to_fileio_close) (struct target_ops *, int fd, int *target_errno);
|
||||
|
||||
/* Unlink FILENAME on the target. Return 0, or -1 if an error
|
||||
occurs (and set *TARGET_ERRNO). */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue