projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-live: resource leak
[babeltrace.git]
/
types
/
types.c
diff --git
a/types/types.c
b/types/types.c
index b235c13ae51bc254c9d1210676a4761917622a07..0d1a89d1946c0146e08ba28ffafcb09fabfa84fc 100644
(file)
--- a/
types/types.c
+++ b/
types/types.c
@@
-51,7
+51,7
@@
GQuark prefix_quark(const char *prefix, GQuark quark)
}
static
}
static
-struct declaration *
+struct
bt_
declaration *
bt_lookup_declaration_scope(GQuark declaration_name,
struct declaration_scope *scope)
{
bt_lookup_declaration_scope(GQuark declaration_name,
struct declaration_scope *scope)
{
@@
-59,10
+59,10
@@
struct declaration *
(gconstpointer) (unsigned long) declaration_name);
}
(gconstpointer) (unsigned long) declaration_name);
}
-struct declaration *bt_lookup_declaration(GQuark declaration_name,
+struct
bt_
declaration *bt_lookup_declaration(GQuark declaration_name,
struct declaration_scope *scope)
{
struct declaration_scope *scope)
{
- struct declaration *declaration;
+ struct
bt_
declaration *declaration;
while (scope) {
declaration = bt_lookup_declaration_scope(declaration_name,
while (scope) {
declaration = bt_lookup_declaration_scope(declaration_name,
@@
-74,7
+74,7
@@
struct declaration *bt_lookup_declaration(GQuark declaration_name,
return NULL;
}
return NULL;
}
-int bt_register_declaration(GQuark name, struct declaration *declaration,
+int bt_register_declaration(GQuark name, struct
bt_
declaration *declaration,
struct declaration_scope *scope)
{
if (!name)
struct declaration_scope *scope)
{
if (!name)
@@
-279,12
+279,12
@@
int bt_register_field_definition(GQuark field_name, struct bt_definition *defini
return 0;
}
return 0;
}
-void bt_declaration_ref(struct declaration *declaration)
+void bt_declaration_ref(struct
bt_
declaration *declaration)
{
declaration->ref++;
}
{
declaration->ref++;
}
-void bt_declaration_unref(struct declaration *declaration)
+void bt_declaration_unref(struct
bt_
declaration *declaration)
{
if (!declaration)
return;
{
if (!declaration)
return;
This page took
0.025726 seconds
and
4
git commands to generate.