aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-08-10 10:14:38 +0100
committerRon Yorston <rmy@pobox.com>2023-08-10 10:14:38 +0100
commit1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77 (patch)
treee317201c6424df53b4dbbfddc0de304d62c8a3a8 /coreutils
parent7b692ddf0c746014f94813bcb6418f0c95d85afc (diff)
parent8f0845cad7bfc46939132b33f9cd0753b261b953 (diff)
downloadbusybox-w32-1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77.tar.gz
busybox-w32-1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77.tar.bz2
busybox-w32-1ba2d37b9f59c4e7a44abb56dfb87f044ba7dc77.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cksum.c2
-rw-r--r--coreutils/cut.c2
-rw-r--r--coreutils/dd.c2
-rw-r--r--coreutils/df.c2
-rw-r--r--coreutils/expand.c2
-rw-r--r--coreutils/fold.c2
-rw-r--r--coreutils/ln.c2
-rw-r--r--coreutils/touch.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/coreutils/cksum.c b/coreutils/cksum.c
index badc63a6a..1fb6ef2d0 100644
--- a/coreutils/cksum.c
+++ b/coreutils/cksum.c
@@ -39,7 +39,7 @@ int cksum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
39int cksum_main(int argc UNUSED_PARAM, char **argv) 39int cksum_main(int argc UNUSED_PARAM, char **argv)
40{ 40{
41 uint32_t *crc32_table = crc32_filltable(NULL, IS_CKSUM); 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#if ENABLE_DESKTOP 44#if ENABLE_DESKTOP
45 getopt32(argv, ""); /* cksum coreutils 6.9 compat */ 45 getopt32(argv, ""); /* cksum coreutils 6.9 compat */
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 *)"-";
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 51f3adf24..a9ef68fbc 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -395,7 +395,7 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
395 OP_oflag_direct, 395 OP_oflag_direct,
396#endif 396#endif
397 }; 397 };
398 smallint exitcode = EXIT_FAILURE; 398 exitcode_t exitcode = EXIT_FAILURE;
399 int i; 399 int i;
400 size_t ibs = 512; 400 size_t ibs = 512;
401 char *ibuf; 401 char *ibuf;
diff --git a/coreutils/df.c b/coreutils/df.c
index 76e9cefbf..03aa78148 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -113,7 +113,7 @@ int df_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
113int df_main(int argc UNUSED_PARAM, char **argv) 113int df_main(int argc UNUSED_PARAM, char **argv)
114{ 114{
115 unsigned long df_disp_hr = 1024; 115 unsigned long df_disp_hr = 1024;
116 int status = EXIT_SUCCESS; 116 exitcode_t status = EXIT_SUCCESS;
117 unsigned opt; 117 unsigned opt;
118 FILE *mount_table; 118 FILE *mount_table;
119 struct mntent *mount_entry; 119 struct mntent *mount_entry;
diff --git a/coreutils/expand.c b/coreutils/expand.c
index 47693e144..c4db26055 100644
--- a/coreutils/expand.c
+++ b/coreutils/expand.c
@@ -192,7 +192,7 @@ int expand_main(int argc UNUSED_PARAM, char **argv)
192 FILE *file; 192 FILE *file;
193 unsigned tab_size; 193 unsigned tab_size;
194 unsigned opt; 194 unsigned opt;
195 int exit_status = EXIT_SUCCESS; 195 exitcode_t exit_status = EXIT_SUCCESS;
196 196
197 init_unicode(); 197 init_unicode();
198 198
diff --git a/coreutils/fold.c b/coreutils/fold.c
index 2839c8c68..8112fe911 100644
--- a/coreutils/fold.c
+++ b/coreutils/fold.c
@@ -77,7 +77,7 @@ int fold_main(int argc UNUSED_PARAM, char **argv)
77 char *line_out = NULL; 77 char *line_out = NULL;
78 const char *w_opt = "80"; 78 const char *w_opt = "80";
79 unsigned width; 79 unsigned width;
80 smallint exitcode = EXIT_SUCCESS; 80 exitcode_t exitcode = EXIT_SUCCESS;
81 81
82 init_unicode(); 82 init_unicode();
83 83
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 34eec398a..080ba142e 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -52,7 +52,7 @@
52int ln_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 52int ln_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
53int ln_main(int argc, char **argv) 53int ln_main(int argc, char **argv)
54{ 54{
55 int status = EXIT_SUCCESS; 55 exitcode_t status = EXIT_SUCCESS;
56 int opts; 56 int opts;
57 char *last; 57 char *last;
58 char *src_name; 58 char *src_name;
diff --git a/coreutils/touch.c b/coreutils/touch.c
index 8fde70e12..ced596c89 100644
--- a/coreutils/touch.c
+++ b/coreutils/touch.c
@@ -77,7 +77,7 @@ int touch_main(int argc UNUSED_PARAM, char **argv)
77{ 77{
78 int fd; 78 int fd;
79 int opts; 79 int opts;
80 smalluint status = EXIT_SUCCESS; 80 exitcode_t status = EXIT_SUCCESS;
81#if ENABLE_FEATURE_TOUCH_SUSV3 81#if ENABLE_FEATURE_TOUCH_SUSV3
82 char *reference_file; 82 char *reference_file;
83 char *date_str; 83 char *date_str;