diff options
Diffstat (limited to '')
-rw-r--r-- | sleep.c (renamed from core/sleep.c) | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -7,13 +7,17 @@ #include <unistd.h> #include <errno.h> -#define REQ_PRINT_USAGE /* Require print_usage() from ../common/common.h */ -#define REQ_ERRPRINT /* Require errprint() from ../common/common.h */ +#define REQ_PRINT_USAGE /* Require print_usage() from common.h */ +#define REQ_ERRPRINT /* Require errprint() from common.h */ #define DESCRIPTION "Suspend execution for an interval." #define OPERANDS "time" -#include "../common/common.h" +#include "common.h" +#ifdef FASESBOX +int sleep_main(int argc, char *argv[]) { +#else int main(int argc, char *argv[]) { +#endif long unsigned int seconds; if (argc == 2) { |