]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: checks: Use a name for the healthcheck status enum
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Apr 2020 08:37:29 +0000 (10:37 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
The enum defining all healthcheck status (HCHK_STATUS_*) is now named.

include/types/checks.h

index c23a58ee03caac5687b0c05fd52a3210544eacdc..6c8053ae8593873cc8d34cedf1e9d06843a75b30 100644 (file)
@@ -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 */