From e4dc39ed5424f08fd9b257f2fd97cadcd2386949 Mon Sep 17 00:00:00 2001 From: yeoncheol-kim Date: Mon, 4 Mar 2024 15:25:55 +0900 Subject: [PATCH] TEST: Unset an environment variable for topkeys --- mc_util.c | 5 +++-- mc_util.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mc_util.c b/mc_util.c index 581979129..f29c7cb92 100644 --- a/mc_util.c +++ b/mc_util.c @@ -628,11 +628,12 @@ ENGINE_ERROR_CODE tokenize_sblocks(mblck_list_t *blist, int keylen, int keycnt, */ /* event handlers structure */ -static struct engine_event_handler { +struct engine_event_handler { EVENT_CALLBACK cb; const void *cb_data; struct engine_event_handler *next; -} *engine_event_handlers[MAX_ENGINE_EVENT_TYPE + 1]; +}; +static struct engine_event_handler *engine_event_handlers[MAX_ENGINE_EVENT_TYPE + 1]; /* * Register a callback. diff --git a/mc_util.h b/mc_util.h index 61185dfe0..2c09b1c54 100644 --- a/mc_util.h +++ b/mc_util.h @@ -17,7 +17,7 @@ #ifndef MC_UTIL_H #define MC_UTIL_H -#include +#include #include /* length of string representing 4 bytes integer is 10 */