aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2013-12-12 23:05:26 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2013-12-12 23:05:26 +0100
commit2f380ca954c6667fe0b974075fae160cce4d624c (patch)
tree065bde1f55d828b83c6006e6d63f40d50716361d
parenta4a170bb3a39da6e246708d53435e902cfb1c189 (diff)
downloadcolorize-2f380ca954c6667fe0b974075fae160cce4d624c.tar.gz
colorize-2f380ca954c6667fe0b974075fae160cce4d624c.tar.bz2
Merge declarations of boolean type
-rw-r--r--colorize.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/colorize.c b/colorize.c
index ab4e786..9e0c294 100644
--- a/colorize.c
+++ b/colorize.c
@@ -98,9 +98,7 @@
#define VERSION "0.52"
-typedef unsigned short bool;
-
-enum { false, true };
+typedef enum { false, true } bool;
struct color_name {
char *name;