summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
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 badc63a..1fb6ef2 100644
--- a/coreutils/cksum.c
+++ b/coreutils/cksum.c
@@ -39,7 +39,7 @@ int cksum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int cksum_main(int argc UNUSED_PARAM, char **argv)
{
uint32_t *crc32_table = crc32_filltable(NULL, IS_CKSUM);
- int exit_code = EXIT_SUCCESS;
+ exitcode_t exit_code = EXIT_SUCCESS;
#if ENABLE_DESKTOP
getopt32(argv, ""); /* cksum coreutils 6.9 compat */
diff --git a/coreutils/cut.c b/coreutils/cut.c
index 25b16d1..d129f9b 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -311,7 +311,7 @@ int cut_main(int argc UNUSED_PARAM, char **argv)
}
{
- int retval = EXIT_SUCCESS;
+ exitcode_t retval = EXIT_SUCCESS;
if (!*argv)
*--argv = (char *)"-";
diff --git a/coreutils/dd.c b/coreutils/dd.c
index c032ebe..8bb7827 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -375,7 +375,7 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
OP_oflag_direct,
#endif
};
- smallint exitcode = EXIT_FAILURE;
+ exitcode_t exitcode = EXIT_FAILURE;
int i;
size_t ibs = 512;
char *ibuf;
diff --git a/coreutils/df.c b/coreutils/df.c
index 76e9cef..03aa781 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -113,7 +113,7 @@ int df_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int df_main(int argc UNUSED_PARAM, char **argv)
{
unsigned long df_disp_hr = 1024;
- int status = EXIT_SUCCESS;
+ exitcode_t status = EXIT_SUCCESS;
unsigned opt;
FILE *mount_table;
struct mntent *mount_entry;
diff --git a/coreutils/expand.c b/coreutils/expand.c
index 47693e1..c4db260 100644
--- a/coreutils/expand.c
+++ b/coreutils/expand.c
@@ -192,7 +192,7 @@ int expand_main(int argc UNUSED_PARAM, char **argv)
FILE *file;
unsigned tab_size;
unsigned opt;
- int exit_status = EXIT_SUCCESS;
+ exitcode_t exit_status = EXIT_SUCCESS;
init_unicode();
diff --git a/coreutils/fold.c b/coreutils/fold.c
index 2839c8c..8112fe9 100644
--- a/coreutils/fold.c
+++ b/coreutils/fold.c
@@ -77,7 +77,7 @@ int fold_main(int argc UNUSED_PARAM, char **argv)
char *line_out = NULL;
const char *w_opt = "80";
unsigned width;
- smallint exitcode = EXIT_SUCCESS;
+ exitcode_t exitcode = EXIT_SUCCESS;
init_unicode();
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 34eec39..080ba14 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -52,7 +52,7 @@
int ln_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int ln_main(int argc, char **argv)
{
- int status = EXIT_SUCCESS;
+ exitcode_t status = EXIT_SUCCESS;
int opts;
char *last;
char *src_name;
diff --git a/coreutils/touch.c b/coreutils/touch.c
index 8fde70e..ced596c 100644
--- a/coreutils/touch.c
+++ b/coreutils/touch.c
@@ -77,7 +77,7 @@ int touch_main(int argc UNUSED_PARAM, char **argv)
{
int fd;
int opts;
- smalluint status = EXIT_SUCCESS;
+ exitcode_t status = EXIT_SUCCESS;
#if ENABLE_FEATURE_TOUCH_SUSV3
char *reference_file;
char *date_str;