Commit 110d42da 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 e8000677
......@@ -12,11 +12,13 @@
extern "C" {
#endif
typedef enum {
enum _llio_eth_type_e {
TCP_ETH_SOCK = 0,
UDP_ETH_SOCK = 1,
INVALID_ETH_SOCK
} llio_eth_type_e;
INVALID_ETH_SOCK,
/* Give this enum the ability to represent CONVC_TYPE_END */
END_ETH_SOCK = CONVC_TYPE_END
};
#define TCP_ETH_SOCK_STR "tcp"
#define UDP_ETH_SOCK_STR "udp"
......
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