diff options
author | Jason A. Donenfeld | 2022-04-20 15:31:01 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2022-04-20 15:43:00 +0200 |
commit | 3c60711f836b151b8f361098475c3b0cd162dd17 (patch) | |
tree | 37c7b403593a49fc650c52b58720600528ad2e1d /coreutils/md5_sha1_sum.c | |
parent | 31ec481baf106cf9c6d8f34ae6a55ab1738dea6f (diff) | |
download | busybox-3c60711f836b151b8f361098475c3b0cd162dd17.zip busybox-3c60711f836b151b8f361098475c3b0cd162dd17.tar.gz |
seedrng: remove some global variables
- Remove global variables and pass dfd by value, opened once instead of
twice, which shaves off some more bytes.
function old new delta
seedrng_main 1086 1088 +2
seed_dir 8 - -8
non_creditable_seed 8 - -8
lock_file 8 - -8
creditable_seed 8 - -8
seed_from_file_if_exists 456 426 -30
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 1/1 up/down: 2/-62) Total: -60 bytes
text data bss dec hex filename
976236 4227 1848 982311 efd27 busybox_old
976208 4227 1816 982251 efceb busybox_unstripped
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'coreutils/md5_sha1_sum.c')
0 files changed, 0 insertions, 0 deletions