diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-04-16 20:37:01 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-04-16 20:37:01 +0000 |
commit | 73cff35173dd75b0254ae7cf9098c32822859de0 (patch) | |
tree | fd1bb09611b2b7064967ca8d8b2aef98514e616b /src/state/hpr.h | |
parent | 5199738f4e32773f4f752a94998593e18e3af36f (diff) | |
download | s6-linux-init-73cff35173dd75b0254ae7cf9098c32822859de0.tar.xz |
It builds! Tomorrow: skeletons for stage2, stage3 and runlevel scripts.
Diffstat (limited to 'src/state/hpr.h')
-rw-r--r-- | src/state/hpr.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/state/hpr.h b/src/state/hpr.h deleted file mode 100644 index 9deb6c4..0000000 --- a/src/state/hpr.h +++ /dev/null @@ -1,22 +0,0 @@ -/* ISC license. */ - -#ifndef HPR_H -#define HPR_H - -#include <stddef.h> - -#include <skalibs/tai.h> -#include <skalibs/djbunix.h> - -#include "initctl.h" - -#define HPR_WALL_BANNER "\n\n*** WARNING ***\nThe system is going down in " - -#define hpr_send(s, n) openwritenclose_unsafe(INITCTL, (s), n) -#define hpr_cancel() hpr_send("c", 1) -extern int hpr_shutdown (unsigned int, tain_t const *, unsigned int) ; -extern size_t hpr_fmttime (char *, size_t, unsigned int) ; -extern void hpr_wall (char const *) ; -extern void hpr_wall_seconds (unsigned int) ; - -#endif |