_dbus_getgid: remove, unused
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 2 Aug 2011 11:55:09 +0000 (12:55 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 10 Feb 2012 14:37:05 +0000 (14:37 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39759
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Lennart Poettering <lennart@poettering.net>
dbus/dbus-sysdeps-unix.c
dbus/dbus-sysdeps-unix.h

index 67034a03bed6b3feb211b5daf617ec61b5d46fc3..da3f03507806650df82899ab69bcd645d237dddc 100644 (file)
@@ -2403,17 +2403,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().
  *
index 200ec8a359cac53070194ac5dd2100428865515b..9f92dcd15f3c9c524aac2dff353508d9f64fe475 100644 (file)
@@ -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);