Commit ab3c152d authored by Lucas Russo's avatar Lucas Russo

include/*_utils.h: add enum value to represent CONVC_TYPE_END value

Without this, clang issues an error.
parent 020118ba
......@@ -16,7 +16,9 @@ extern "C" {
enum _devio_type_e {
BE_DEVIO = 0, /* Back-End DEVIO */
FE_DEVIO, /* Front-End DEVIO */
INVALID_DEVIO
INVALID_DEVIO,
/* Give this enum the ability to represent CONVC_TYPE_END */
END_DEVIO = CONVC_TYPE_END
};
#define BE_DEVIO_STR "be"
......
......@@ -17,7 +17,9 @@ enum _llio_type_e {
GENERIC_DEV = 0,
PCIE_DEV = 1,
ETH_DEV,
INVALID_DEV
INVALID_DEV,
/* Give this enum the ability to represent CONVC_TYPE_END */
END_DEV = CONVC_TYPE_END
};
#define GENERIC_DEV_STR "generic"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment