From: Theodore Ts'o Date: Wed, 21 May 2025 16:33:15 +0000 (-0400) Subject: libext2fs: add missing function prototypes for new inline functions X-Git-Tag: v1.47.3-rc1~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc9b3099228393d8062c5b8d89c325ce00619b3a;p=thirdparty%2Fe2fsprogs.git libext2fs: add missing function prototypes for new inline functions Fixes: be4834c29e6f ("misc: deduplicate log2/log10 functions") Signed-off-by: Theodore Ts'o --- diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index 2d5d1fdc..15277195 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -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);