enc_stat[], hu_stat[]
The definition of enc_stat[] got changed by a pull request nearly a
year ago ('const char *enc_stat[]' -> 'const char *const enc_stat[]')
but the separate declarations for it weren't changed to match.
Make the same change for hu_stat[]. Not sure why the pull request
didn't include it since the old declaration and the usage are same.
The curses one is in code that isn't used.
This commit is contained in:
+2
-2
@@ -1225,8 +1225,8 @@ adjust_status_fancy(struct xwindow *wp, const char *str)
|
||||
}
|
||||
|
||||
/* Fancy ================================================================== */
|
||||
extern const char *hu_stat[]; /* from eat.c */
|
||||
extern const char *enc_stat[]; /* from botl.c */
|
||||
extern const char *const hu_stat[]; /* from eat.c */
|
||||
extern const char *const enc_stat[]; /* from botl.c */
|
||||
|
||||
struct X_status_value {
|
||||
/* we have to cast away 'const' when assigning new names */
|
||||
|
||||
Reference in New Issue
Block a user