summaryrefslogtreecommitdiffstats
path: root/collectors/systemd-journal.plugin/systemd-units.c
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/systemd-journal.plugin/systemd-units.c')
-rw-r--r--collectors/systemd-journal.plugin/systemd-units.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/collectors/systemd-journal.plugin/systemd-units.c b/collectors/systemd-journal.plugin/systemd-units.c
index 81cda786fc..dac1588174 100644
--- a/collectors/systemd-journal.plugin/systemd-units.c
+++ b/collectors/systemd-journal.plugin/systemd-units.c
@@ -676,8 +676,6 @@ static void update_freezer_state(UnitInfo *u, UnitAttribute *ua) {
// ----------------------------------------------------------------------------
// common helpers
-#define _cleanup_(x) __attribute__((__cleanup__(x)))
-
static void log_dbus_error(int r, const char *msg) {
netdata_log_error("SYSTEMD_UNITS: %s failed with error %d (%s)", msg, r, strerror(-r));
}