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 /util-linux | |
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 'util-linux')
-rw-r--r-- | util-linux/renice.c | 2 | ||||
-rw-r--r-- | util-linux/rev.c | 2 | ||||
-rw-r--r-- | util-linux/umount.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/renice.c b/util-linux/renice.c index 53f197cce..f2737f29b 100644 --- a/util-linux/renice.c +++ b/util-linux/renice.c | |||
@@ -45,7 +45,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv) | |||
45 | { | 45 | { |
46 | static const char Xetpriority_msg[] ALIGN1 = "%cetpriority"; | 46 | static const char Xetpriority_msg[] ALIGN1 = "%cetpriority"; |
47 | 47 | ||
48 | int retval = EXIT_SUCCESS; | 48 | exitcode_t retval = EXIT_SUCCESS; |
49 | int which = PRIO_PROCESS; /* Default 'which' value. */ | 49 | int which = PRIO_PROCESS; /* Default 'which' value. */ |
50 | int use_relative = 0; | 50 | int use_relative = 0; |
51 | int adjustment, new_priority; | 51 | int adjustment, new_priority; |
diff --git a/util-linux/rev.c b/util-linux/rev.c index 12df2b9ff..aad53722d 100644 --- a/util-linux/rev.c +++ b/util-linux/rev.c | |||
@@ -51,7 +51,7 @@ static void strrev(CHAR_T *s, int len) | |||
51 | int rev_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 51 | int rev_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
52 | int rev_main(int argc UNUSED_PARAM, char **argv) | 52 | int rev_main(int argc UNUSED_PARAM, char **argv) |
53 | { | 53 | { |
54 | int retval; | 54 | exitcode_t retval; |
55 | size_t bufsize; | 55 | size_t bufsize; |
56 | char *buf; | 56 | char *buf; |
57 | 57 | ||
diff --git a/util-linux/umount.c b/util-linux/umount.c index 23da32868..f5c97a034 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -97,7 +97,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv) | |||
97 | struct mntent me; | 97 | struct mntent me; |
98 | FILE *fp; | 98 | FILE *fp; |
99 | char *fstype = NULL; | 99 | char *fstype = NULL; |
100 | int status = EXIT_SUCCESS; | 100 | exitcode_t status = EXIT_SUCCESS; |
101 | unsigned opt; | 101 | unsigned opt; |
102 | struct mtab_list { | 102 | struct mtab_list { |
103 | char *dir; | 103 | char *dir; |