mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Add target_ops argument to to_fileio_unlink
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_fileio_unlink>: Add argument. * target.c (target_fileio_unlink): Add argument. * remote.c (remote_hostio_unlink): Add 'self' argument. (remote_file_delete): Update. * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
This commit is contained in:
@ -328,7 +328,8 @@ inf_child_fileio_close (struct target_ops *self, int fd, int *target_errno)
|
||||
/* Unlink FILENAME on the target. Return 0, or -1 if an error
|
||||
occurs (and set *TARGET_ERRNO). */
|
||||
static int
|
||||
inf_child_fileio_unlink (const char *filename, int *target_errno)
|
||||
inf_child_fileio_unlink (struct target_ops *self,
|
||||
const char *filename, int *target_errno)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
Reference in New Issue
Block a user