aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org>2017-10-01 15:39:03 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org>2017-10-01 15:39:03 +0200
commit12f28b9a2c7da79b31eec0e02ef12acc7c635f71 (patch)
tree523f970e9548e27313b89b99d5dab62d72e3c36a /colorize.c
parent8637d58c4c7cdaa7018d1ab81c78958b1dc1e215 (diff)
downloadcolorize-12f28b9a2c7da79b31eec0e02ef12acc7c635f71.tar.gz
colorize-12f28b9a2c7da79b31eec0e02ef12acc7c635f71.tar.bz2
Minor tweaks
- Omit enumeration identifier - Reorder const qualifier
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c4
1 files 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[] = {