projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Babeltrace type: build warning cleanup
[babeltrace.git]
/
types
/
types.c
diff --git
a/types/types.c
b/types/types.c
index fbd1ed50bb26b621ce06c852bef68a8f6bcf434a..6fb3e5989269e11b029f7494d0d53a2d08e7ff76 100644
(file)
--- a/
types/types.c
+++ b/
types/types.c
@@
-42,7
+42,7
@@
static void free_type(struct type_class *type_class)
int register_type(struct type_class *type_class)
{
int register_type(struct type_class *type_class)
{
- if (
ctf_lookup_type_class
(type_class->name))
+ if (
lookup_type
(type_class->name))
return -EEXIST;
g_hash_table_insert(type_classes,
return -EEXIST;
g_hash_table_insert(type_classes,
@@
-74,4
+74,5
@@
int init_types(void)
int finalize_types(void)
{
g_hash_table_destroy(type_classes);
int finalize_types(void)
{
g_hash_table_destroy(type_classes);
+ return 0;
}
}
This page took
0.024556 seconds
and
4
git commands to generate.