From: Max Kellermann Date: Sun, 11 Oct 2009 17:20:52 +0000 (+0200) Subject: screen_help: removed the help_text_row_t typedef X-Git-Tag: release-0.16~109 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f2f695ceb3aca64b90311694ffdb6b2d3a71f723;p=ncmpc.git screen_help: removed the help_text_row_t typedef Use the struct name. --- diff --git a/src/screen_help.c b/src/screen_help.c index 316231b..1d83bf7 100644 --- a/src/screen_help.c +++ b/src/screen_help.c @@ -27,13 +27,13 @@ #include -typedef struct { +struct help_text_row { signed char highlight; command_t command; const char *text; -} help_text_row_t; +}; -static help_text_row_t help_text[] = { +static const struct help_text_row help_text[] = { { 1, CMD_NONE, N_("Movement") }, { 2, CMD_NONE, NULL }, { 0, CMD_LIST_PREVIOUS, NULL },