diff options
-rw-r--r-- | libflash/libffs.c | 2 | ||||
-rw-r--r-- | libflash/libffs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libflash/libffs.c b/libflash/libffs.c index 401b4db..cc534e2 100644 --- a/libflash/libffs.c +++ b/libflash/libffs.c @@ -282,7 +282,7 @@ int ffs_part_info(struct ffs_handle *ffs, uint32_t part_idx, * simple, the underlying blocklevel_devices must be the same along with * the toc_offset and the max_size. */ -int ffs_cmp(struct ffs_handle *one, struct ffs_handle *two) +bool ffs_equal(struct ffs_handle *one, struct ffs_handle *two) { return (!one && !two) || (one && two && one->bl == two->bl && one->toc_offset == two->toc_offset diff --git a/libflash/libffs.h b/libflash/libffs.h index 0d0d5f5..a9ff574 100644 --- a/libflash/libffs.h +++ b/libflash/libffs.h @@ -58,7 +58,7 @@ int ffs_next_side(struct ffs_handle *ffs, struct ffs_handle **new_ffs, * simple, the underlying blocklevel_devices must be the same along with * the toc_offset and the max_size. */ -int ffs_cmp(struct ffs_handle *one, struct ffs_handle *two); +bool ffs_equal(struct ffs_handle *one, struct ffs_handle *two); void ffs_close(struct ffs_handle *ffs); |