From d0218696ba59d6f1e7ed613e90d6d82c5e4d65cb Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 11 Nov 2019 17:01:12 +0100 Subject: [PATCH] threading: shrink threadvars struct size --- src/threadvars.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threadvars.h b/src/threadvars.h index 355aab831b..3c468fbb48 100644 --- a/src/threadvars.h +++ b/src/threadvars.h @@ -65,6 +65,8 @@ typedef struct ThreadVars_ { /** TmModule::flags for each module part of this thread */ uint8_t tmm_flags; + uint8_t cap_flags; /**< Flags to indicate the capabilities of all the + TmModules resgitered under this thread */ /** local id */ int id; @@ -114,8 +116,6 @@ typedef struct ThreadVars_ { SCCtrlMutex *ctrl_mutex; SCCtrlCondT *ctrl_cond; - uint8_t cap_flags; /**< Flags to indicate the capabilities of all the - TmModules resgitered under this thread */ struct ThreadVars_ *next; struct ThreadVars_ *prev; } ThreadVars;