summaryrefslogtreecommitdiff
path: root/util-linux/mkswap.c
diff options
context:
space:
mode:
authorDenys Vlasenko2022-04-30 15:36:54 +0200
committerDenys Vlasenko2022-04-30 15:38:44 +0200
commit2cbfd01c150420199a9cb74f5de72d7279e6cd11 (patch)
treeadac1c5c3dbdf347ba662938d33d4be43e29a697 /util-linux/mkswap.c
parent52f3cf7e5f8c2635ffd456602b74118cf86ec099 (diff)
downloadbusybox-2cbfd01c150420199a9cb74f5de72d7279e6cd11.zip
busybox-2cbfd01c150420199a9cb74f5de72d7279e6cd11.tar.gz
seedrng: code shrink
Struct initializers do this double init: ># util-linux/seedrng.c:88: struct pollfd random_fd = { movl $0, 132(%esp) #, random_fd movl $0, 136(%esp) #, random_fd ... ># util-linux/seedrng.c:88: struct pollfd random_fd = { movl %eax, 140(%esp) # _110, random_fd.fd movw $1, 144(%esp) #, random_fd.events and close(random_fd.fd) needs to pull the item from the stack: pushl 132(%esp) # random_fd.fd call close # function old new delta seedrng_main 1076 1050 -26 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkswap.c')
0 files changed, 0 insertions, 0 deletions