diff options
author | Steven Schubiger <stsc@refcnt.org> | 2017-10-01 15:39:03 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2017-10-01 15:39:03 +0200 |
commit | 12f28b9a2c7da79b31eec0e02ef12acc7c635f71 (patch) | |
tree | 523f970e9548e27313b89b99d5dab62d72e3c36a | |
parent | 8637d58c4c7cdaa7018d1ab81c78958b1dc1e215 (diff) | |
download | colorize-12f28b9a2c7da79b31eec0e02ef12acc7c635f71.tar.gz colorize-12f28b9a2c7da79b31eec0e02ef12acc7c635f71.tar.bz2 |
Minor tweaks
- Omit enumeration identifier
- Reorder const qualifier
-rw-r--r-- | colorize.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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[] = { |