aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mkfs_minix.c')
-rw-r--r--util-linux/mkfs_minix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index af19da68c..263013af9 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -183,7 +183,7 @@ static int used_good_blocks;
183static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; 183static unsigned short good_blocks_table[MAX_GOOD_BLOCKS];
184static unsigned long req_nr_inodes; 184static unsigned long req_nr_inodes;
185 185
186extern inline unsigned div_roundup(unsigned size, unsigned n) 186static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)
187{ 187{
188 return (size + n-1) / n; 188 return (size + n-1) / n;
189} 189}