From 776926bdc80627ea11123d070b16e11e724a46a1 Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Fri, 15 Sep 2023 14:06:14 -0300 Subject: [PATCH] fluent-bit: follow PHANDLER_ROUTINE definition more closely. Signed-off-by: Phillip Whelan --- src/fluent-bit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fluent-bit.c b/src/fluent-bit.c index c2d0a2a560d..51b814cfd02 100644 --- a/src/fluent-bit.c +++ b/src/fluent-bit.c @@ -629,7 +629,7 @@ void flb_console_handler_set_ctx(flb_ctx_t *ctx, struct flb_cf *cf_opts) handler_opts = cf_opts; } -static bool flb_console_handler(DWORD evType) +static BOOL WINAPI flb_console_handler(DWORD evType) { switch(evType) { case 1 /* CTRL_BREAK_EVENT_1 */: