summaryrefslogtreecommitdiffstats
path: root/src/io_redir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io_redir.c')
-rw-r--r--src/io_redir.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/io_redir.c b/src/io_redir.c
index a8f85ca..be40cdb 100644
--- a/src/io_redir.c
+++ b/src/io_redir.c
@@ -56,7 +56,7 @@ struct info_io_redir
};
static int io_redir_pread(disk_t *disk_car, void *buffer, const unsigned int count, const uint64_t offset);
-static int io_redir_clean(disk_t *clean);
+static void io_redir_clean(disk_t *clean);
int io_redir_add_redir(disk_t *disk_car, const uint64_t org_offset, const unsigned int size, const uint64_t new_offset, const void *mem)
{
@@ -217,7 +217,7 @@ static int io_redir_pread(disk_t *disk_car, void *buffer, const unsigned int cou
return count;
}
-static int io_redir_clean(disk_t *disk_car)
+static void io_redir_clean(disk_t *disk_car)
{
if(disk_car->data)
{
@@ -227,6 +227,5 @@ static int io_redir_clean(disk_t *disk_car)
free(disk_car->data);
disk_car->data=NULL;
}
- return 0;
}