From 1184a3b541641aaf0e3c4126d3f885c6dc2c13e1 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 22 Jun 2011 12:31:08 +0100 Subject: [PATCH 2/3] _dbus_open_tcp_socket: remove It's only implemented on Unix, internal to dbus, and never called. --- dbus/dbus-sysdeps-unix.c | 7 ------- dbus/dbus-sysdeps.h | 2 -- 2 files changed, 0 insertions(+), 9 deletions(-) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index d606371..200db5d 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -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. diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index 22d7969..501bc7b 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -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, -- 1.7.5.4