summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/kdbus.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2014-09-23 16:13:54 +0200
committerDaniel Mack <daniel@zonque.org>2014-09-23 16:16:04 +0200
commit619d7a039f9f64ffa593634c2715838ffbc17be4 (patch)
treeb82314961e5c75ce56a05a7b61e8d5a52fe90ae4 /src/libsystemd/sd-bus/kdbus.h
parente78af5ffe53a0d24854d721d1166a60f8ed0dfb6 (diff)
sd-bus: sync kdbus.h (API break)
Just a rename of two struct members to make the header file c++ compatible.
Diffstat (limited to 'src/libsystemd/sd-bus/kdbus.h')
-rw-r--r--src/libsystemd/sd-bus/kdbus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/sd-bus/kdbus.h
index 0718b8497a..b167c4d00e 100644
--- a/src/libsystemd/sd-bus/kdbus.h
+++ b/src/libsystemd/sd-bus/kdbus.h
@@ -46,7 +46,7 @@ struct kdbus_notify_id_change {
/**
* struct kdbus_notify_name_change - name registry change message
* @old: ID and flags of former owner of a name
- * @new: ID and flags of new owner of a name
+ * @now: ID and flags of new owner of a name
* @name: Well-known name
*
* Sent from kernel to userspace when the owner or activator of
@@ -58,8 +58,8 @@ struct kdbus_notify_id_change {
* KDBUS_ITEM_NAME_CHANGE
*/
struct kdbus_notify_name_change {
- struct kdbus_notify_id_change old;
- struct kdbus_notify_id_change new;
+ struct kdbus_notify_id_change old_id;
+ struct kdbus_notify_id_change new_id;
char name[0];
};