aboutsummaryrefslogtreecommitdiff
path: root/cmd/service
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/service')
-rw-r--r--cmd/service/servicecmd.c1
-rw-r--r--cmd/service/servicecmd.h5
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/service/servicecmd.c b/cmd/service/servicecmd.c
index 799a6f1..55afaf5 100644
--- a/cmd/service/servicecmd.c
+++ b/cmd/service/servicecmd.c
@@ -5,7 +5,6 @@
#include "servicecmd.h"
#include "service.h"
#include "config.h"
-#include "util.h"
command_t *commands;
diff --git a/cmd/service/servicecmd.h b/cmd/service/servicecmd.h
index e7cc998..d65c4b5 100644
--- a/cmd/service/servicecmd.h
+++ b/cmd/service/servicecmd.h
@@ -2,13 +2,14 @@
#ifndef SERVICECMD_H
#define SERVICECMD_H
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "service.h"
-#include "util.h"
+#include "config.h"
/*
Describes a command that can be launched by passing its name as
@@ -45,7 +46,7 @@ service_t *loadsvc(const char *directory, const char *filename, int flags);
Implemented in servicecmd.c. Prints program usage message and
terminates with the given exit status.
*/
-void usage(int status) NORETURN;
+void usage(int status) __attribute__((noreturn));
/*
Write a message to stderr that advises the user how to consult the