projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some further syscall adjustments. Split the module syscalls out of
[oweals/busybox.git]
/
usleep.c
diff --git
a/usleep.c
b/usleep.c
index 69790ef090bc6efc6882b4633c5e14bb341fc241..6023bf430db3f05cb339bcefebcf3ebf010e9afd 100644
(file)
--- a/
usleep.c
+++ b/
usleep.c
@@
-21,16
+21,18
@@
*
*/
*
*/
-#include "busybox.h"
+/* getopt not needed */
+
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
+#include "busybox.h"
extern int usleep_main(int argc, char **argv)
{
if ((argc < 2) || (**(argv + 1) == '-')) {
extern int usleep_main(int argc, char **argv)
{
if ((argc < 2) || (**(argv + 1) == '-')) {
-
usage(usleep_usage
);
+
show_usage(
);
}
usleep(atoi(*(++argv))); /* return void */
}
usleep(atoi(*(++argv))); /* return void */
- return
(TRUE)
;
+ return
EXIT_SUCCESS
;
}
}