aboutsummaryrefslogtreecommitdiff
path: root/toys/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/sleep.c')
-rw-r--r--toys/sleep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toys/sleep.c b/toys/sleep.c
index 55a6b977..7052ecaa 100644
--- a/toys/sleep.c
+++ b/toys/sleep.c
@@ -19,6 +19,10 @@ config SLEEP
#include "toys.h"
+DEFINE_GLOBALS(
+ long seconds;
+)
+
void sleep_main(void)
{
toys.exitval = sleep(atol(*toys.optargs));