diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-12 20:54:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-12 20:54:54 +0000 |
commit | 3ad5d0cbbe3c6debc8d3431fadf973eff04b27bf (patch) | |
tree | ea3c3db1efdd618bf819f97d73f93f276f309137 /util-linux/fsck_minix.c | |
parent | fdcbc4e7095c225a8586dcb96a7a99c2d1007aeb (diff) | |
download | busybox-w32-3ad5d0cbbe3c6debc8d3431fadf973eff04b27bf.tar.gz busybox-w32-3ad5d0cbbe3c6debc8d3431fadf973eff04b27bf.tar.bz2 busybox-w32-3ad5d0cbbe3c6debc8d3431fadf973eff04b27bf.zip |
diff: shrink code (-85 bytes):
function old new delta
fiddle_sum 8 - -8
diffreg 2717 2690 -27
prepare 334 284 -50
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes
s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r-- | util-linux/fsck_minix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index d35a25a9d..955d66f23 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
@@ -159,7 +159,7 @@ static struct { | |||
159 | #define MAGIC (Super.s_magic) | 159 | #define MAGIC (Super.s_magic) |
160 | 160 | ||
161 | /* gcc likes this more (code is smaller) than macro variant */ | 161 | /* gcc likes this more (code is smaller) than macro variant */ |
162 | static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) | 162 | static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) |
163 | { | 163 | { |
164 | return (size + n-1) / n; | 164 | return (size + n-1) / n; |
165 | } | 165 | } |