From: Davin McCall Date: Sat, 13 Jan 2018 16:47:57 +0000 (+0000) Subject: Use general dinit.h header in baseproc-service.cc. X-Git-Tag: v0.08~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f84dd08342a3b54d76fa1bf15f81a0c3e32a2f92;p=oweals%2Fdinit.git Use general dinit.h header in baseproc-service.cc. --- 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()) {