diff options
author | Andreas Dilger <adilger@whamcloud.com> | 2011-06-11 11:33:02 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-06-11 11:33:02 -0400 |
commit | 65d05cec3d4ae02dec1b15dfec21e571cb83c9cf (patch) | |
tree | fb28b44dc3b4e4b15d3c96fad35c5b30b4bdc904 /lib/ext2fs/ext2fsP.h | |
parent | 1d8f5ae36e95f18bfb74a0851ed42cb45fd0445a (diff) | |
download | e2fsprogs-65d05cec3d4ae02dec1b15dfec21e571cb83c9cf.tar.gz |
ext2fs: fix ext2fs_warn_bitmap32() return warning
This was reported as "control reaches end of non-void function",
but comparing to other similar functions it should be a void
function. Since it is only declared in the "private" ext2fsP.h
header, it should be OK to change the function prototype.
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/ext2fsP.h')
-rw-r--r-- | lib/ext2fs/ext2fsP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/ext2fsP.h b/lib/ext2fs/ext2fsP.h index ab9ee766..b182d7fe 100644 --- a/lib/ext2fs/ext2fsP.h +++ b/lib/ext2fs/ext2fsP.h @@ -138,6 +138,6 @@ extern errcode_t ext2fs_set_generic_bmap_range(ext2fs_generic_bitmap bitmap, extern errcode_t ext2fs_get_generic_bmap_range(ext2fs_generic_bitmap bitmap, __u64 start, unsigned int num, void *out); -extern int ext2fs_warn_bitmap32(ext2fs_generic_bitmap bitmap, const char *func); +extern void ext2fs_warn_bitmap32(ext2fs_generic_bitmap bitmap,const char *func); extern int ext2fs_mem_is_zero(const char *mem, size_t len); |