diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-03-12 18:44:48 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-05-12 18:35:49 +0100 |
commit | 54395bd5ad281c27f883b1db2849f9568ca8fdd0 (patch) | |
tree | 94ff09b765471cc8fdcd4391ca749ea0eba17095 /dbus/dbus-sysdeps-unix.c | |
parent | 68d8c66680d0ab206480d499a7cc532c0678e434 (diff) |
Remove _dbus_socket_is_invalid, no longer used
It didn't have many users anyway, and I've replaced them with the
DBUS_SOCKET_IS_VALID macro.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89444
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'dbus/dbus-sysdeps-unix.c')
-rw-r--r-- | dbus/dbus-sysdeps-unix.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 0cb1e03e..2e28bd86 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -606,12 +606,6 @@ _dbus_write_socket_two (DBusSocket fd, #endif } -dbus_bool_t -_dbus_socket_is_invalid (int fd) -{ - return fd < 0 ? TRUE : FALSE; -} - /** * Thin wrapper around the read() system call that appends * the data it reads to the DBusString buffer. It appends |