From: Christopher Faulet Date: Wed, 1 Apr 2020 08:37:29 +0000 (+0200) Subject: MINOR: checks: Use a name for the healthcheck status enum X-Git-Tag: v2.2-dev7~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1032059bd0362f1544b77358812316531b45df16;p=thirdparty%2Fhaproxy.git MINOR: checks: Use a name for the healthcheck status enum The enum defining all healthcheck status (HCHK_STATUS_*) is now named. --- diff --git a/include/types/checks.h b/include/types/checks.h index c23a58ee03..6c8053ae85 100644 --- a/include/types/checks.h +++ b/include/types/checks.h @@ -44,7 +44,7 @@ enum chk_result { #define CHK_ST_PORT_MISS 0x0020 /* check can't be send because no port is configured to run it */ /* check status */ -enum { +enum healthcheck_status { HCHK_STATUS_UNKNOWN = 0, /* Unknown */ HCHK_STATUS_INI, /* Initializing */ HCHK_STATUS_START, /* Check started - SPECIAL STATUS */