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>
#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
return bytes_written;
}
-dbus_bool_t
-_dbus_socket_is_invalid (DBusSocket fd)
-{
- return fd == DBUS_SOCKET_INVALID ? TRUE : FALSE;
-}
-
#if 0
/**
const int *fds,
int n_fds);
-dbus_bool_t _dbus_socket_is_invalid (DBusSocket fd);
-
DBusSocket _dbus_connect_tcp_socket (const char *host,
const char *port,
const char *family,