*_string() enumerator to string functions: remove common prefix
[babeltrace.git] / src / plugins / ctf / common / bfcr / bfcr.h
index edf3de15009f142b964094a025b063d47e5494a0..ec07f0e3ff838bd34b69764a1a7772c1a6807232 100644 (file)
@@ -362,15 +362,15 @@ const char *bt_bfcr_status_string(enum bt_bfcr_status status)
 {
        switch (status) {
        case BT_BFCR_STATUS_ENOMEM:
-               return "BT_BFCR_STATUS_ENOMEM";
+               return "ENOMEM";
        case BT_BFCR_STATUS_EOF:
-               return "BT_BFCR_STATUS_EOF";
+               return "EOF";
        case BT_BFCR_STATUS_INVAL:
-               return "BT_BFCR_STATUS_INVAL";
+               return "INVAL";
        case BT_BFCR_STATUS_ERROR:
-               return "BT_BFCR_STATUS_ERROR";
+               return "ERROR";
        case BT_BFCR_STATUS_OK:
-               return "BT_BFCR_STATUS_OK";
+               return "OK";
        default:
                return "(unknown)";
        }
This page took 0.023194 seconds and 4 git commands to generate.