projects
/
deliverable
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1404555
)
Adjust bt_component_borrow_class to match declaration
author
Simon Marchi
<simon.marchi@efficios.com>
Mon, 1 Apr 2019 20:01:08 +0000
(16:01 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 12 Apr 2019 21:26:17 +0000
(17:26 -0400)
Rename it to bt_component_borrow_class_const and constify return type,
to match declaration in graph/component-const.h.
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
lib/graph/component.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/graph/component.c
b/lib/graph/component.c
index 53c9cd6defa4a12d9cac248e78ac4073e49b200e..6321762f032a8bc6804da82be455903b4daaee97 100644
(file)
--- a/
lib/graph/component.c
+++ b/
lib/graph/component.c
@@
-331,7
+331,7
@@
const char *bt_component_get_name(const struct bt_component *component)
return component->name->str;
}
-
struct bt_component_class *bt_component_borrow_class
(
+
const struct bt_component_class *bt_component_borrow_class_const
(
const struct bt_component *component)
{
BT_ASSERT_PRE_NON_NULL(component, "Component");
This page took
0.025266 seconds
and
5
git commands to generate.