projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690abd7
)
Use general dinit.h header in baseproc-service.cc.
author
Davin McCall
<davmac@davmac.org>
Sat, 13 Jan 2018 16:47:57 +0000
(16:47 +0000)
committer
Davin McCall
<davmac@davmac.org>
Sat, 13 Jan 2018 16:47:57 +0000
(16:47 +0000)
src/baseproc-service.cc
patch
|
blob
|
history
diff --git
a/src/baseproc-service.cc
b/src/baseproc-service.cc
index a516ec4eb9ec862869f3e85a87daa05b258ab733..ac5664b26874017c032c500277abf1cef7eac91b 100644
(file)
--- a/
src/baseproc-service.cc
+++ b/
src/baseproc-service.cc
@@
-1,5
+1,6
@@
#include <cstring>
+#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()) {