summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-bus/bus-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libelogind/sd-bus/bus-internal.h')
-rw-r--r--src/libelogind/sd-bus/bus-internal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libelogind/sd-bus/bus-internal.h b/src/libelogind/sd-bus/bus-internal.h
index 407dcf48f..4f08ec19b 100644
--- a/src/libelogind/sd-bus/bus-internal.h
+++ b/src/libelogind/sd-bus/bus-internal.h
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
@@ -383,7 +381,7 @@ char *bus_address_escape(const char *v);
* bus from the callback doesn't destroy the object we are working
* on */
#define BUS_DONT_DESTROY(bus) \
- _cleanup_bus_unref_ _unused_ sd_bus *_dont_destroy_##bus = sd_bus_ref(bus)
+ _cleanup_(sd_bus_unrefp) _unused_ sd_bus *_dont_destroy_##bus = sd_bus_ref(bus)
int bus_set_address_system(sd_bus *bus);
#if 0 /// UNNEEDED by elogind