summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-10 21:16:40 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-10 21:16:40 +0200
commit3cb4674019567ef93e4a463dd145fd3af6242877 (patch)
tree6911a9003819f9bc830672e2cd5d81f2ff55f0e3 /src/libsystemd/sd-bus/bus-internal.h
parent3b653205cf7bd3851befd0a9f6a3ded6e267c173 (diff)
libsystemd: make use of our common sockaddr_union everywhere
Diffstat (limited to 'src/libsystemd/sd-bus/bus-internal.h')
-rw-r--r--src/libsystemd/sd-bus/bus-internal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h
index d1183d69c4..618e82c98f 100644
--- a/src/libsystemd/sd-bus/bus-internal.h
+++ b/src/libsystemd/sd-bus/bus-internal.h
@@ -237,12 +237,7 @@ struct sd_bus {
Hashmap *vtable_methods;
Hashmap *vtable_properties;
- union {
- struct sockaddr sa;
- struct sockaddr_un un;
- struct sockaddr_in in;
- struct sockaddr_in6 in6;
- } sockaddr;
+ union sockaddr_union sockaddr;
socklen_t sockaddr_size;
char *kernel;