libnm-util: rename symbol to fix export check

The export check looks for symbols that begin with "nm_" (except
for GObject class stuff) which indicate that the symbol should be
exported.  If the symbols is 'l' (local) as reported by objdump
that probably means we forgot to add it to the .ver file and it
really should be exported.  nm_gvalue_dup() shouldn't be exported
though, so rename it such that it's obviously internal.
This commit is contained in:
Dan Williams 2011-07-19 09:54:23 -05:00
parent ba390d2430
commit d45e9cb062

View file

@ -230,7 +230,7 @@ _gvalue_destroy (gpointer data)
}
static GValue *
nm_gvalue_dup (const GValue *value)
_gvalue_dup (const GValue *value)
{
GValue *dup;
@ -246,7 +246,7 @@ iterate_collection (const GValue *value, gpointer user_data)
{
GSList **list = (GSList **) user_data;
*list = g_slist_prepend (*list, nm_gvalue_dup (value));
*list = g_slist_prepend (*list, _gvalue_dup (value));
}
static gint
@ -306,7 +306,7 @@ iterate_map (const GValue *key_val,
{
GHashTable **hash = (GHashTable **) user_data;
g_hash_table_insert (*hash, g_value_dup_string (key_val), nm_gvalue_dup (value_val));
g_hash_table_insert (*hash, g_value_dup_string (key_val), _gvalue_dup (value_val));
}
typedef struct {