From 87d04c8afc731da32e9cccbe6d7c35492fcd9cb7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 2 Aug 2011 12:55:09 +0100 Subject: [PATCH] _dbus_getgid: remove, unused --- dbus/dbus-sysdeps-unix.c | 11 ----------- dbus/dbus-sysdeps-unix.h | 1 - 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index f931570..52691da 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -2371,17 +2371,6 @@ _dbus_atomic_get (DBusAtomic *atomic) #endif } -#ifdef DBUS_BUILD_TESTS -/** Gets our GID - * @returns process GID - */ -dbus_gid_t -_dbus_getgid (void) -{ - return getgid (); -} -#endif - /** * Wrapper for poll(). * diff --git a/dbus/dbus-sysdeps-unix.h b/dbus/dbus-sysdeps-unix.h index 200ec8a..9f92dcd 100644 --- a/dbus/dbus-sysdeps-unix.h +++ b/dbus/dbus-sysdeps-unix.h @@ -128,7 +128,6 @@ void _dbus_group_info_free (DBusGroupInfo *info); dbus_uid_t _dbus_getuid (void); dbus_uid_t _dbus_geteuid (void); -dbus_gid_t _dbus_getgid (void); dbus_bool_t _dbus_parse_uid (const DBusString *uid_str, dbus_uid_t *uid); -- 1.7.5.4