_dbus_open_tcp_socket: remove
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 22 Jun 2011 11:31:08 +0000 (12:31 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 18 Jul 2011 14:15:58 +0000 (15:15 +0100)
It's only implemented on Unix, internal to dbus, and never called.

dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps.h

index d606371..200db5d 100644 (file)
@@ -132,13 +132,6 @@ _dbus_open_socket (int              *fd_p,
     }
 }
 
-dbus_bool_t
-_dbus_open_tcp_socket (int              *fd,
-                       DBusError        *error)
-{
-  return _dbus_open_socket(fd, AF_INET, SOCK_STREAM, 0, error);
-}
-
 /**
  * Opens a UNIX domain socket (as in the socket() call).
  * Does not bind the socket.
index 22d7969..501bc7b 100644 (file)
@@ -121,8 +121,6 @@ typedef unsigned long dbus_gid_t;
  * 
  */
 
-dbus_bool_t _dbus_open_tcp_socket  (int              *fd,
-                                    DBusError        *error);
 dbus_bool_t _dbus_close_socket     (int               fd,
                                     DBusError        *error);
 int         _dbus_read_socket      (int               fd,