summaryrefslogtreecommitdiffstats
path: root/src/zfs.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2020-06-19 18:13:01 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2020-06-19 19:02:41 +0200
commit60b5424f53c3d8606b6d04f32340d6533d6c358f (patch)
tree897e765e9527bba5b03ca0f69b837b4ed8b50835 /src/zfs.h
parent49cd8dbd9dcc04893c491f14672911e0a7dac824 (diff)
Constify a lot of function parameters
Diffstat (limited to 'src/zfs.h')
-rw-r--r--src/zfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zfs.h b/src/zfs.h
index 8d242ea..b7f2b26 100644
--- a/src/zfs.h
+++ b/src/zfs.h
@@ -38,7 +38,7 @@ struct vdev_boot_header {
char vb_pad[VDEV_BOOT_HEADER_SIZE - 4 * sizeof (uint64_t)];
};
int check_ZFS(disk_t *disk,partition_t *partition);
-int recover_ZFS(disk_t *disk, const struct vdev_boot_header *ZFS_header,partition_t *partition,const int verbose, const int dump_ind);
+int recover_ZFS(const disk_t *disk, const struct vdev_boot_header *ZFS_header,partition_t *partition,const int verbose, const int dump_ind);
#ifdef __cplusplus
} /* closing brace for extern "C" */
#endif