*_string() enumerator to string functions: remove common prefix
[babeltrace.git] / src / lib / graph / component-class.h
index c6757ed3080dd6f3ab3d230743d0123f5b45ca3c..838acbcebd116074b754171efe27ff0d4d9d4ef8 100644 (file)
@@ -129,11 +129,11 @@ const char *bt_component_class_type_string(enum bt_component_class_type type)
 {
        switch (type) {
        case BT_COMPONENT_CLASS_TYPE_SOURCE:
-               return "BT_COMPONENT_CLASS_TYPE_SOURCE";
+               return "SOURCE";
        case BT_COMPONENT_CLASS_TYPE_SINK:
-               return "BT_COMPONENT_CLASS_TYPE_SINK";
+               return "SINK";
        case BT_COMPONENT_CLASS_TYPE_FILTER:
-               return "BT_COMPONENT_CLASS_TYPE_FILTER";
+               return "FILTER";
        default:
                return "(unknown)";
        }
This page took 0.023262 seconds and 4 git commands to generate.