From e4dd7978d24f53465c8475bd3a027047b4a53bb8 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Fri, 5 Jun 2020 18:20:49 -0500 Subject: refactor: rename honey_error to honey_result --- include/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 680f097..56c1634 100644 --- a/include/common.h +++ b/include/common.h @@ -40,7 +40,7 @@ typedef enum { /* model errors */ HONEY_MODEL_LOAD_ERROR, - HONEY_N_ERRORS } honey_error; + HONEY_N_ERRORS } honey_result; #define HONEY_ERROR_DATA_STRING_LENGTH 4096 @@ -58,6 +58,6 @@ void honey_error_set_string2(char* string); * @param[out] error_string A string with at least 3*HONEY_ERROR_DATA_STRING_LENGTH characters to store the result * @param[in] error The error to generate a message for */ -void honey_human_readable_error(char* error_string, honey_error error); +void honey_human_readable_error(char* error_string, honey_result error); #endif -- cgit v1.2.1