summaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-16 23:48:13 +0000
committerDenis Vlasenko2006-12-16 23:48:13 +0000
commita597aaddfa76d589d3e1a37b1f1c3401c2decffd (patch)
tree1db4966ffc99ad3c495bd18d6f7040e1515e79d7 /util-linux/mkfs_minix.c
parent3469c185e50e7bb672ce33ab5e50da753f0f0e20 (diff)
downloadbusybox-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.zip
busybox-a597aaddfa76d589d3e1a37b1f1c3401c2decffd.tar.gz
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
xstrtou: disallow leading '+'
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 af19da6..263013a 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -183,7 +183,7 @@ static int used_good_blocks;
static unsigned short good_blocks_table[MAX_GOOD_BLOCKS];
static unsigned long req_nr_inodes;
-extern inline unsigned div_roundup(unsigned size, unsigned n)
+static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)
{
return (size + n-1) / n;
}