diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2023-07-17 17:29:36 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-07-17 17:29:36 +0200 |
commit | c484846c4459affa769b84cbd0b586f2bbaec828 (patch) | |
tree | 64be47b9451d3fd508a662b06db66ad3ddd03fb0 /coreutils/cut.c | |
parent | a6a102ec4c8d96fcfb968c88fbdae80f6142c7bf (diff) | |
download | busybox-w32-c484846c4459affa769b84cbd0b586f2bbaec828.tar.gz busybox-w32-c484846c4459affa769b84cbd0b586f2bbaec828.tar.bz2 busybox-w32-c484846c4459affa769b84cbd0b586f2bbaec828.zip |
introduce and use exitcode_t
function old new delta
strings_main 422 420 -2
setfattr_main 175 173 -2
brctl_main 1548 1546 -2
makedevs_main 979 975 -4
rev_main 337 332 -5
getfattr_main 307 302 -5
cut_main 1201 1196 -5
cksum_main 398 393 -5
umount_main 573 565 -8
ln_main 516 508 -8
expand_main 660 652 -8
df_main 1068 1060 -8
renice_main 346 332 -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/13 up/down: 0/-76) Total: -76 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r-- | coreutils/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index 25b16d1a8..d129f9b9d 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -311,7 +311,7 @@ int cut_main(int argc UNUSED_PARAM, char **argv) | |||
311 | } | 311 | } |
312 | 312 | ||
313 | { | 313 | { |
314 | int retval = EXIT_SUCCESS; | 314 | exitcode_t retval = EXIT_SUCCESS; |
315 | 315 | ||
316 | if (!*argv) | 316 | if (!*argv) |
317 | *--argv = (char *)"-"; | 317 | *--argv = (char *)"-"; |