lib: remove includes from logging.h
[babeltrace.git] / src / lib / graph / port.h
index c1be31add815233deea75101326aa70b7a57dcf6..fe9a64ef59a230235e1f13d50ad9c8eac23d6a9f 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #include <babeltrace2/graph/port-const.h>
+#include "common/macros.h"
 
 struct bt_port {
        struct bt_object base;
@@ -56,9 +57,9 @@ const char *bt_port_type_string(enum bt_port_type port_type)
 {
        switch (port_type) {
        case BT_PORT_TYPE_INPUT:
-               return "BT_PORT_TYPE_INPUT";
+               return "INPUT";
        case BT_PORT_TYPE_OUTPUT:
-               return "BT_PORT_TYPE_OUTPUT";
+               return "OUTPUT";
        default:
                return "(unknown)";
        }
This page took 0.023097 seconds and 4 git commands to generate.