Code

screen_help: removed the help_text_row_t typedef
authorMax Kellermann <max@duempel.org>
Sun, 11 Oct 2009 17:20:52 +0000 (19:20 +0200)
committerMax Kellermann <max@duempel.org>
Sun, 11 Oct 2009 17:20:52 +0000 (19:20 +0200)
Use the struct name.

src/screen_help.c

index 316231b6b79dbe7b6c1f4124298b4e9605f9b25c..1d83bf77c3ba106644b2447f19b36a37afcca086 100644 (file)
 
 #include <assert.h>
 
-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 },