export lookup_definition
[babeltrace.git] / types / types.c
index b9576ea3109ab98e07ff3473f23983a5a0d77e14..8ef18342eb0e42255641c93f5809330287b498cf 100644 (file)
@@ -298,7 +298,7 @@ struct declaration_scope *
 
        scope->typedef_declarations = g_hash_table_new_full(g_direct_hash,
                                        g_direct_equal, NULL,
-                                       (GDestroyNotify) definition_unref);
+                                       (GDestroyNotify) declaration_unref);
        scope->struct_declarations = g_hash_table_new_full(g_direct_hash,
                                        g_direct_equal, NULL,
                                        (GDestroyNotify) declaration_unref);
@@ -597,7 +597,6 @@ void free_definition_scope(struct definition_scope *scope)
        g_free(scope);
 }
 
-static
 struct definition *lookup_definition(struct definition *definition,
                                     const char *field_name)
 {
This page took 0.023544 seconds and 4 git commands to generate.