diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-30 17:57:19 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-30 17:57:19 +0200 |
commit | e5fb92b077c514962139abb57057041a09ca860c (patch) | |
tree | f413ec6a9edfb5e19cc276d0873f4e2af39e4340 /src/ui_act.c | |
parent | d3046d174245920c01f2e19fa43f2cccdba9540b (diff) | |
download | pianobar-e5fb92b077c514962139abb57057041a09ca860c.tar.gz pianobar-e5fb92b077c514962139abb57057041a09ca860c.tar.bz2 pianobar-e5fb92b077c514962139abb57057041a09ca860c.zip |
Use static const for large read-only arrays
Diffstat (limited to 'src/ui_act.c')
-rw-r--r-- | src/ui_act.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_act.c b/src/ui_act.c index 7328e40..d907304 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -71,7 +71,7 @@ static int BarTransformIfShared (PianoHandle_t *ph, WaitressHandle_t *waith, /* print current shortcut configuration */ void BarUiActHelp (BAR_KS_ARGS) { - const char *idToDesc[] = { + static const char *idToDesc[] = { NULL, "love current song", "ban current song", |