aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-04-02 21:32:30 -0500
committerRob Landley <rob@landley.net>2020-04-02 21:32:30 -0500
commitf79dc0cfb2ea534876c776684ec1f1a0a53078c6 (patch)
treed9e849b0d40132782503ecdc0ec37a2b72add70c /toys/other
parent5332688a2a6ef72df2b7514962e27e66534a3e48 (diff)
downloadtoybox-f79dc0cfb2ea534876c776684ec1f1a0a53078c6.tar.gz
Move #include <linux/*.h> into individual commands, initialize struct
with memset() instead of = {}, and move TT.alarm to local variable.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/hwclock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/other/hwclock.c b/toys/other/hwclock.c
index 5ab308df..3b3ff690 100644
--- a/toys/other/hwclock.c
+++ b/toys/other/hwclock.c
@@ -25,6 +25,7 @@ config HWCLOCK
#define FOR_hwclock
#include "toys.h"
+#include <linux/rtc.h>
GLOBALS(
char *f;