Rewritten by Manuel Novoa III.
[oweals/busybox.git] / usleep.c
index 69790ef090bc6efc6882b4633c5e14bb341fc241..6023bf430db3f05cb339bcefebcf3ebf010e9afd 100644 (file)
--- a/usleep.c
+++ b/usleep.c
  *
  */
 
-#include "busybox.h"
+/* getopt not needed */
+
 #include <stdlib.h>
 #include <unistd.h>
+#include "busybox.h"
 
 extern int usleep_main(int argc, char **argv)
 {
        if ((argc < 2) || (**(argv + 1) == '-')) {
-               usage(usleep_usage);
+               show_usage();
        }
 
        usleep(atoi(*(++argv)));        /* return void */
-       return(TRUE);
+       return EXIT_SUCCESS;
 }