aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-27 15:06:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-27 15:06:25 +0000
commitf868963c672ffdfc4bd37670b8d74342577264b1 (patch)
tree4966afe1bbfaa0aa8ea313354e8be875307e027c /include
parent75878706174290fbf5faac0215b3b9ae78fa9d6f (diff)
downloadbusybox-f868963c672ffdfc4bd37670b8d74342577264b1.tar.gz
multiplier suffixes are short, store them directly in struct suffix_mult
function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index b438ec25f..780bd4566 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -451,7 +451,7 @@ const char *make_human_readable_str(unsigned long long size,
char *bin2hex(char *buf, const char *cp, int count);
struct suffix_mult {
- const char *suffix;
+ char suffix[4];
unsigned mult;
};
#include "xatonum.h"