X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fgraph%2Fcomponent-class.h;fp=src%2Flib%2Fgraph%2Fcomponent-class.h;h=17000909e2535f427a873ef1c85bdcae73eb7acd;hb=6375b9429f8332f3eacc2ec795aa1924c73d9cc8;hp=ac51bcfb064e600b7946211bfa1cc512a0dccaf1;hpb=dbc37715597584e302c55ed61b95562db95df9ac;p=babeltrace.git diff --git a/src/lib/graph/component-class.h b/src/lib/graph/component-class.h index ac51bcfb..17000909 100644 --- a/src/lib/graph/component-class.h +++ b/src/lib/graph/component-class.h @@ -98,21 +98,6 @@ void _bt_component_class_freeze( # define bt_component_class_freeze(_cc) #endif -static inline -const char *bt_component_class_type_string(enum bt_component_class_type type) -{ - switch (type) { - case BT_COMPONENT_CLASS_TYPE_SOURCE: - return "SOURCE"; - case BT_COMPONENT_CLASS_TYPE_SINK: - return "SINK"; - case BT_COMPONENT_CLASS_TYPE_FILTER: - return "FILTER"; - default: - return "(unknown)"; - } -} - static inline bool bt_component_class_has_message_iterator_class( struct bt_component_class *component_class)