Whamcloud - gitweb
libext2fs: add missing function prototypes for new inline functions
authorTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2025 16:33:15 +0000 (12:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2025 16:33:15 +0000 (12:33 -0400)
Fixes: be4834c29e6f ("misc: deduplicate log2/log10 functions")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2fs.h

index 2d5d1fd..1527719 100644 (file)
@@ -1966,6 +1966,10 @@ extern blk_t ext2fs_group_last_block(ext2_filsys fs, dgrp_t group);
 extern blk_t ext2fs_inode_data_blocks(ext2_filsys fs,
                                      struct ext2_inode *inode);
 extern int ext2fs_htree_intnode_maxrecs(ext2_filsys fs, int blocks);
+extern int ext2fs_log2_u32(__u32 arg);
+extern int ext2fs_log2_u64(__u64 arg);
+extern int ext2fs_log10_u32(__u32 arg);
+extern int ext2fs_log10_u64(__u64 arg);
 extern unsigned int ext2fs_div_ceil(unsigned int a, unsigned int b);
 extern __u64 ext2fs_div64_ceil(__u64 a, __u64 b);
 extern int ext2fs_dirent_name_len(const struct ext2_dir_entry *entry);