aboutsummaryrefslogtreecommitdiff
path: root/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sleep.c (renamed from core/sleep.c)10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/sleep.c b/sleep.c
index 913bd0b..854b8df 100644
--- a/core/sleep.c
+++ b/sleep.c
@@ -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) {