aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-06-19 17:25:40 +0000
committerEric Andersen <andersen@codepoet.org>2000-06-19 17:25:40 +0000
commitb610615be9aedfac07d1e01f12575707fa3a227c (patch)
treeb94c0d6a506d1ef77f79df246a26d504c84b7110 /miscutils
parentdbb3019d0de410960feac649a0b9320ae245cca1 (diff)
downloadbusybox-b610615be9aedfac07d1e01f12575707fa3a227c.tar.gz
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dutmp.c2
-rw-r--r--miscutils/mktemp.c2
-rw-r--r--miscutils/mt.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c
index f264fd75b..c6bc0c794 100644
--- a/miscutils/dutmp.c
+++ b/miscutils/dutmp.c
@@ -56,5 +56,5 @@ extern int dutmp_main(int argc, char **argv)
(long)ut.ut_addr);
}
- exit(TRUE);
+ return(TRUE);
}
diff --git a/miscutils/mktemp.c b/miscutils/mktemp.c
index b30b9a08f..87792cb18 100644
--- a/miscutils/mktemp.c
+++ b/miscutils/mktemp.c
@@ -39,5 +39,5 @@ extern int mktemp_main(int argc, char **argv)
if(mkstemp(argv[argc-1]) < 0)
exit(FALSE);
(void) puts(argv[argc-1]);
- exit(TRUE);
+ return(TRUE);
}
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 44f23884c..304d66485 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -101,5 +101,5 @@ extern int mt_main(int argc, char **argv)
exit (FALSE);
}
- exit (TRUE);
+ return (TRUE);
}