From b093d1926284f2a9239c1b3cc062b633c284142d Mon Sep 17 00:00:00 2001 From: Hussam al-Homsi Date: Sun, 27 Sep 2020 20:18:43 -0400 Subject: [PATCH] tweaks: reorder a member of 'funcstruct', to save 8 bytes of padding Signed-off-by: Hussam al-Homsi --- src/definitions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions.h b/src/definitions.h index a01dcd51..93662c9e 100644 --- a/src/definitions.h +++ b/src/definitions.h @@ -449,8 +449,6 @@ typedef struct keystruct { typedef struct funcstruct { void (*func)(void); /* The actual function to call. */ - int menus; - /* In what menus this function applies. */ const char *desc; /* The function's short description, for example "Where Is". */ #ifdef ENABLE_HELP @@ -462,6 +460,8 @@ typedef struct funcstruct { #endif bool viewok; /* Is this function allowed when in view mode? */ + int menus; + /* In what menus this function applies. */ long toggle; /* If this is a toggle, which toggle to affect. */ struct funcstruct *next;