[ghashtable] add G_GNUC_UNUSED to remove unused static functions warning

This commit is contained in:
Benjamin Dauvergne 2011-01-04 16:39:34 +01:00
parent 2b90dcd503
commit 433ebd9a99
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ static gboolean return_true(G_GNUC_UNUSED gpointer a, G_GNUC_UNUSED gpointer b,
return TRUE;
}
static void
G_GNUC_UNUSED static void
g_hash_table_remove_all (GHashTable *hash_table)
{
lasso_return_if_fail(hash_table != NULL);
@ -46,7 +46,7 @@ g_hash_table_remove_all (GHashTable *hash_table)
* (as this function is useful but new in 2.14) */
static GList *
G_GNUC_UNUSED static GList *
g_hash_table_get_keys (GHashTable *hash_table)
{
GHashNode *node;
@ -63,7 +63,7 @@ g_hash_table_get_keys (GHashTable *hash_table)
return retval;
}
static GList *
G_GNUC_UNUSED static GList *
g_hash_table_get_values (GHashTable *hash_table)
{
GHashNode *node;