diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-23 17:17:53 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-23 17:17:53 +0200 |
commit | 1f27ab0d4bb65425496ff4ed0fbbd0f5bb32786f (patch) | |
tree | a7181ba3c498570257040c8663f125938ecad0a6 /shell | |
parent | 8d338173a4668740b1ab4a40d1d26cd25402e406 (diff) | |
download | busybox-w32-1f27ab0d4bb65425496ff4ed0fbbd0f5bb32786f.tar.gz busybox-w32-1f27ab0d4bb65425496ff4ed0fbbd0f5bb32786f.tar.bz2 busybox-w32-1f27ab0d4bb65425496ff4ed0fbbd0f5bb32786f.zip |
*: optimize code size in strtoul calls
function old new delta
bb_parse_mode 433 431 -2
rtnl_rtntype_a2n 202 198 -4
ParseField 511 498 -13
bb_init_module_24 4730 4675 -55
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-74) Total: -74 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 68aa675e5..db28af7d3 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -10078,7 +10078,7 @@ change_random(const char *value) | |||
10078 | vrandom.flags &= ~VNOFUNC; | 10078 | vrandom.flags &= ~VNOFUNC; |
10079 | } else { | 10079 | } else { |
10080 | /* set/reset */ | 10080 | /* set/reset */ |
10081 | random_galois_LFSR = random_LCG = strtoul(value, (char **)NULL, 10); | 10081 | random_galois_LFSR = random_LCG = strtoul(value, NULL, 10); |
10082 | } | 10082 | } |
10083 | } | 10083 | } |
10084 | #endif | 10084 | #endif |