]> git.refcnt.org Git - colorize.git/commitdiff
Merge declarations of boolean type
authorSteven Schubiger <stsc@refcnt.org>
Thu, 12 Dec 2013 22:05:26 +0000 (23:05 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Thu, 12 Dec 2013 22:05:26 +0000 (23:05 +0100)
colorize.c

index ab4e786232ec84a0c12ac0d625fe358565a47512..9e0c294ba0ca89e5322b52481adcb00346a3fdc5 100644 (file)
@@ -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;