summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-22 00:08:58 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-22 00:12:37 +0100
commitb9bf7e2be93fe25e0e96e06ad436d43a1e589ed5 (patch)
tree25e4529b2d9ec6619ecd1858d2ff46cb1ecdff8f /src/libsystemd-bus/bus-internal.h
parent25220239990c7859a65160d63277105d0c1de8a8 (diff)
bus: implicitly handle peer commands Ping() and GetMachineId()
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index b0e97915cc..636e998c30 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -108,6 +108,7 @@ static inline void bus_unrefp(sd_bus **b) {
}
#define _cleanup_bus_unref_ __attribute__((cleanup(bus_unrefp)))
+#define _cleanup_bus_error_free_ __attribute__((cleanup(sd_bus_error_free)))
#define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))