Turn DBusSocket into a type-safe struct, preventing inappropriate conversion
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 12 Mar 2015 20:44:42 +0000 (20:44 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 12 May 2015 17:35:56 +0000 (18:35 +0100)
commitf5e1c1391fa2b1af5f69208d6697b2e991867bbb
tree66099f8b33f9fde92cb12205395fc195d84c4e9c
parent54395bd5ad281c27f883b1db2849f9568ca8fdd0
Turn DBusSocket into a type-safe struct, preventing inappropriate conversion

Fix the remaining platform-specific code to look at the struct's
appropriate platform-specific member.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89444
12 files changed:
bus/dispatch.c
bus/main.c
dbus/dbus-hash.h
dbus/dbus-server-unix.c
dbus/dbus-spawn-win.c
dbus/dbus-spawn.c
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps-win.c
dbus/dbus-sysdeps.h
dbus/dbus-transport-unix.c
dbus/dbus-watch.c
test/fdpass.c