From df39ea259cf099cb2de3d26905078dddf47832cd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 17 Dec 2013 21:38:59 -0700 Subject: Add target_ops argument to to_fileio_close 2014-02-19 Tom Tromey * target.h (struct target_ops) : 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. --- gdb/target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index eb83cb9..e2dddc7 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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). */ -- cgit v1.1