From bc9e8dadd916ec6c939c00f3816600e42d394937 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 22 Jun 2011 12:31:24 +0100 Subject: [PATCH 3/3] _dbus_open_unix_socket: make static It isn't called from outside its translation unit. --- dbus/dbus-sysdeps-unix.c | 2 +- dbus/dbus-sysdeps-unix.h | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 200db5d..3594c63 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -142,7 +142,7 @@ _dbus_open_socket (int *fd_p, * @param error return location for an error * @returns #FALSE if error is set */ -dbus_bool_t +static dbus_bool_t _dbus_open_unix_socket (int *fd, DBusError *error) { diff --git a/dbus/dbus-sysdeps-unix.h b/dbus/dbus-sysdeps-unix.h index d7022b0..200ec8a 100644 --- a/dbus/dbus-sysdeps-unix.h +++ b/dbus/dbus-sysdeps-unix.h @@ -63,8 +63,6 @@ _dbus_write_two (int fd, int start2, int len2); -dbus_bool_t _dbus_open_unix_socket (int *fd, - DBusError *error); int _dbus_connect_unix_socket (const char *path, dbus_bool_t abstract, DBusError *error); -- 1.7.5.4