tweaks: reorder a member of 'funcstruct', to save 8 bytes of padding

Signed-off-by: Hussam al-Homsi <sawuare@gmail.com>
master
Hussam al-Homsi 2020-09-27 20:18:43 -04:00 committed by Benno Schulenberg
parent 7c698a9c3a
commit b093d19262
1 changed files with 2 additions and 2 deletions

View File

@ -449,8 +449,6 @@ typedef struct keystruct {
typedef struct funcstruct { typedef struct funcstruct {
void (*func)(void); void (*func)(void);
/* The actual function to call. */ /* The actual function to call. */
int menus;
/* In what menus this function applies. */
const char *desc; const char *desc;
/* The function's short description, for example "Where Is". */ /* The function's short description, for example "Where Is". */
#ifdef ENABLE_HELP #ifdef ENABLE_HELP
@ -462,6 +460,8 @@ typedef struct funcstruct {
#endif #endif
bool viewok; bool viewok;
/* Is this function allowed when in view mode? */ /* Is this function allowed when in view mode? */
int menus;
/* In what menus this function applies. */
long toggle; long toggle;
/* If this is a toggle, which toggle to affect. */ /* If this is a toggle, which toggle to affect. */
struct funcstruct *next; struct funcstruct *next;