diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-12-24 17:27:39 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-12-24 17:27:39 +0100 |
commit | a33f98d90779740c49987bd825ceb560c0ffb1f5 (patch) | |
tree | 16fdeee33c82ba1d82446953b77bb14d803a1e93 /src/settings.h | |
parent | 357153c25547d0e797bbb3d1390a947c4268273e (diff) | |
download | pianobar-a33f98d90779740c49987bd825ceb560c0ffb1f5.tar.gz pianobar-a33f98d90779740c49987bd825ceb560c0ffb1f5.tar.bz2 pianobar-a33f98d90779740c49987bd825ceb560c0ffb1f5.zip |
Avoid struct padding where possible
Pointed out by -Wpadding. Does not decrease memory usage/binary size
though.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index 8ce1225..b975b23 100644 --- a/src/settings.h +++ b/src/settings.h @@ -86,7 +86,6 @@ typedef struct { char *password; char *controlProxy; /* non-american listeners need this */ char *proxy; - char keys[BAR_KS_COUNT]; char *autostartStation; char *eventCmd; char *loveIcon; @@ -97,6 +96,7 @@ typedef struct { char *listSongFormat; char *fifo; char tlsFingerprint[20]; + char keys[BAR_KS_COUNT]; BarMsgFormatStr_t msgFormat[MSG_COUNT]; } BarSettings_t; |