summaryrefslogtreecommitdiff
path: root/dbus-job.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus-job.c')
-rw-r--r--dbus-job.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbus-job.c b/dbus-job.c
index b0f575b11b..bec5bca93c 100644
--- a/dbus-job.c
+++ b/dbus-job.c
@@ -23,6 +23,7 @@
#include "dbus.h"
#include "log.h"
+#include "dbus-job.h"
static const char introspection[] =
DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
@@ -39,8 +40,8 @@ static const char introspection[] =
BUS_INTROSPECTABLE_INTERFACE
"</node>";
-DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_job_append_state, job_state, JobState);
-DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_job_append_type, job_type, JobType);
+static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_job_append_state, job_state, JobState);
+static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_job_append_type, job_type, JobType);
static int bus_job_append_unit(Manager *m, DBusMessageIter *i, const char *property, void *data) {
Job *j = data;