From 12f28b9a2c7da79b31eec0e02ef12acc7c635f71 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Sun, 1 Oct 2017 15:39:03 +0200 Subject: Minor tweaks - Omit enumeration identifier - Reorder const qualifier --- colorize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colorize.c b/colorize.c index 3e9755a..218713d 100644 --- a/colorize.c +++ b/colorize.c @@ -164,7 +164,7 @@ struct bytes_size { char unit; }; -enum fmts { +enum { FMT_GENERIC, FMT_STRING, FMT_QUOTE, @@ -188,7 +188,7 @@ static const char *formats[] = { enum { GENERIC, FOREGROUND = 0, BACKGROUND }; static const struct { - struct color const *entries; + const struct color *entries; unsigned int count; const char *desc; } tables[] = { -- cgit v1.2.3