Mercurial > pidgin.yaz
diff src/log.c @ 11677:8004885fabbe
[gaim-migrate @ 13963]
Remove some things from the public namespace by making them static
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 17 Oct 2005 05:50:30 +0000 |
parents | cd0c8830d881 |
children | a647f92e1d57 |
line wrap: on
line diff
--- a/src/log.c Mon Oct 17 05:32:33 2005 +0000 +++ b/src/log.c Mon Oct 17 05:50:30 2005 +0000 @@ -406,7 +406,8 @@ return (gint)b->type - (gint)a->type; } -guint log_set_hash(gconstpointer key) +static guint +log_set_hash(gconstpointer key) { const GaimLogSet *set = key; @@ -416,7 +417,8 @@ return g_int_hash((gint *)&set->type) + g_str_hash(set->name); } -gboolean log_set_equal(gconstpointer a, gconstpointer b) +static gboolean +log_set_equal(gconstpointer a, gconstpointer b) { /* I realize that the choices made for GList and GHashTable * make sense for those data types, but I wish the comparison @@ -424,7 +426,8 @@ return !gaim_log_set_compare(a, b); } -void log_add_log_set_to_hash(GHashTable *sets, GaimLogSet *set) +static void +log_add_log_set_to_hash(GHashTable *sets, GaimLogSet *set) { GaimLogSet *existing_set = g_hash_table_lookup(sets, set);