summaryrefslogtreecommitdiff
path: root/dbus/dbus-userdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-userdb.c')
-rw-r--r--dbus/dbus-userdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-userdb.c b/dbus/dbus-userdb.c
index ff583204..85ee1b67 100644
--- a/dbus/dbus-userdb.c
+++ b/dbus/dbus-userdb.c
@@ -442,6 +442,7 @@ _dbus_user_database_new (void)
return NULL;
}
+#ifdef DBUS_BUILD_TESTS
/**
* Increments refcount of user database.
* @param db the database
@@ -456,6 +457,7 @@ _dbus_user_database_ref (DBusUserDatabase *db)
return db;
}
+#endif /* DBUS_BUILD_TESTS */
/**
* Decrements refcount of user database.