diff options
Diffstat (limited to 'initd/init.h')
-rw-r--r-- | initd/init.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/initd/init.h b/initd/init.h index b1287ee..6e5ad8f 100644 --- a/initd/init.h +++ b/initd/init.h @@ -26,13 +26,6 @@ #define ENVFILE ETCPATH "/initd.env" #define PROCFDDIR "/proc/self/fd" -enum { - STATUS_OK = 0, - STATUS_FAIL, - STATUS_WAIT, - STATUS_STARTED, -}; - /* service run time data */ enum { @@ -64,19 +57,6 @@ void target_completed(int target); */ pid_t runsvc(service_t *svc); -/********** status.c **********/ - -/* - Print a status message. Type is either STATUS_OK, STATUS_FAIL, - STATUS_WAIT or STATUS_STARTED. - - A new-line is appended to the mssage, UNLESS type is STATUS_WAIT. - - If update is true, print a carriage return first to overwrite the - current line (e.g. after a STATUS_WAIT message). -*/ -void print_status(const char *msg, int type, bool update); - /********** supervisor.c **********/ void supervisor_handle_exited(pid_t pid, int status); |