~vcs-imports/busybox/trunk

« back to all changes in this revision

Viewing changes to coreutils/cksum.c

  • Committer: Denys Vlasenko
  • Date: 2023-07-17 15:29:36 UTC
  • Revision ID: git-v1:c484846c4459affa769b84cbd0b586f2bbaec828
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>

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
int cksum_main(int argc UNUSED_PARAM, char **argv)
40
40
{
41
41
        uint32_t *crc32_table = crc32_filltable(NULL, IS_CKSUM);
42
 
        int exit_code = EXIT_SUCCESS;
 
42
        exitcode_t exit_code = EXIT_SUCCESS;
43
43
 
44
44
#if ENABLE_DESKTOP
45
45
        getopt32(argv, ""); /* cksum coreutils 6.9 compat */