From f84dd08342a3b54d76fa1bf15f81a0c3e32a2f92 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Sat, 13 Jan 2018 16:47:57 +0000 Subject: [PATCH] Use general dinit.h header in baseproc-service.cc. --- src/baseproc-service.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/baseproc-service.cc b/src/baseproc-service.cc index a516ec4..ac5664b 100644 --- a/src/baseproc-service.cc +++ b/src/baseproc-service.cc @@ -1,5 +1,6 @@ #include +#include "dinit.h" #include "dinit-log.h" #include "dinit-socket.h" #include "proc-service.h" @@ -10,12 +11,6 @@ * See proc-service.h for interface documentation. */ -extern eventloop_t event_loop; - -using clock_type = dasynq::clock_type; -using rearm = dasynq::rearm; -using time_val = dasynq::time_val; - void base_process_service::do_smooth_recovery() noexcept { if (! restart_ps_process()) { -- 2.25.1