From 819adf8030e6a200c2267c750bd708fe18ef3120 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 22 Jul 2022 13:49:11 +0200 Subject: [PATCH] Add missing typedef to MochaUtilStatus --- include/mocha/mocha.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mocha/mocha.h b/include/mocha/mocha.h index f1dcdcb..99f8ba9 100644 --- a/include/mocha/mocha.h +++ b/include/mocha/mocha.h @@ -8,7 +8,7 @@ extern "C" { #endif -enum MochaUtilsStatus { +typedef enum MochaUtilsStatus { MOCHA_RESULT_SUCCESS = 0, MOCHA_RESULT_INVALID_ARGUMENT = -0x01, MOCHA_RESULT_MAX_CLIENT = -0x02, @@ -16,7 +16,7 @@ enum MochaUtilsStatus { MOCHA_RESULT_UNSUPPORTED_COMMAND = -0x11, MOCHA_RESULT_LIB_UNINITIALIZED = -0x20, MOCHA_RESULT_UNKNOWN_ERROR = -0x100, -}; +} MochaUtilsStatus; /** * Initializes the mocha lib. Needs to be called before any other functions can be used