mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Use packed structures
This commit is contained in:
parent
0c63f474a3
commit
eb9faf0832
|
@ -269,7 +269,7 @@ typedef struct entry {
|
|||
typedef struct {
|
||||
int key;
|
||||
char *loc;
|
||||
} bm;
|
||||
} __attribute__ ((packed)) bm;
|
||||
|
||||
/* Settings */
|
||||
typedef struct {
|
||||
|
@ -307,7 +307,7 @@ typedef struct {
|
|||
char c_name[NAME_MAX + 1]; /* Current file name */
|
||||
settings c_cfg; /* Current configuration */
|
||||
uint color; /* Color code for directories */
|
||||
} context;
|
||||
} __attribute__ ((packed)) context;
|
||||
|
||||
/* GLOBALS */
|
||||
|
||||
|
|
Loading…
Reference in a new issue