summaryrefslogtreecommitdiff
path: root/src/state/hpr_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/hpr_shutdown.c')
-rw-r--r--src/state/hpr_shutdown.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/state/hpr_shutdown.c b/src/state/hpr_shutdown.c
deleted file mode 100644
index 9c9ff51..0000000
--- a/src/state/hpr_shutdown.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* ISC license. */
-
-#include <stdint.h>
-
-#include <skalibs/uint32.h>
-#include <skalibs/tai.h>
-
-#include "hpr.h"
-
-int hpr_shutdown (unsigned int what, tain_t const *when, unsigned int grace)
-{
- char pack[5 + TAIN_PACK] = { " hpr"[what] } ;
- tain_pack(pack+1, when) ;
- uint32_pack_big(pack + 1 + TAIN_PACK, (uint32_t)grace) ;
- return hpr_send(pack, 5 + TAIN_PACK) ;
-}