summaryrefslogtreecommitdiff
path: root/package/sash/src/reboot.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-06 03:07:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-11-06 03:29:21 +0100
commit7cb73425031559dab19e613554622bf9e51a6b56 (patch)
tree63b0d552a280e66dd50071679e46c66d6b31ad1b /package/sash/src/reboot.c
parentbead6c0dd67eaba7c03efa72a0897f9cbe272372 (diff)
sash: cleanup for musl compile
Diffstat (limited to 'package/sash/src/reboot.c')
-rw-r--r--package/sash/src/reboot.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/sash/src/reboot.c b/package/sash/src/reboot.c
index 8342ec992..ec464a041 100644
--- a/package/sash/src/reboot.c
+++ b/package/sash/src/reboot.c
@@ -27,10 +27,7 @@
#include <unistd.h>
#include <getopt.h>
-
-#if __GNU_LIBRARY__ > 5
#include <sys/reboot.h>
-#endif
int main(int argc, char *argv[])
{
@@ -83,11 +80,7 @@ int main(int argc, char *argv[])
sleep(1);
sync();
sleep(1);
-#if __GNU_LIBRARY__ > 5
reboot(0x01234567);
-#else
- reboot(0xfee1dead, 672274793, 0x01234567);
-#endif
exit(0); /* Shrug */
}