Implement mock functionality for some system calls in bp_sys.
[oweals/dinit.git] / src / dinit.cc
index fd946e7c115f14e9ed01092f16e87d6b57ef3163..105403279ff821a7bfc3e78ad4ccf7367bfcb283 100644 (file)
@@ -18,6 +18,7 @@
 #include <sys/reboot.h>
 #endif
 
+#include "dinit.h"
 #include "dasynq.h"
 #include "service.h"
 #include "control.h"
@@ -49,9 +50,6 @@ static void wait_for_user_input() noexcept;
 
 static void control_socket_cb(eventloop_t *loop, int fd);
 
-void open_control_socket(bool report_ro_failure = true) noexcept;
-void setup_external_log() noexcept;
-
 
 // Variables