colors

extract colors from pictures
git clone git://git.2f30.org/colors
Log | Files | Refs | README | LICENSE

commit 7d2b5f671bf2627fa8539c4da5a94900755fcaf4
parent a562c0a7d0856d9f35814ad6c3863b05814d7fb8
Author: sin <sin@2f30.org>
Date:   Sat, 13 Jun 2015 11:28:37 +0100

Rename rb_e to e now that TAILQ is gone

Diffstat:
Mcolors.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/colors.c b/colors.c @@ -18,7 +18,7 @@ struct point { int z; long freq; struct cluster *c; - RB_ENTRY(point) rb_e; + RB_ENTRY(point) e; }; struct cluster { @@ -64,8 +64,8 @@ pointcmp(struct point *p1, struct point *p2) b = p2->x << 16 | p2->y << 8 | p2->z; return a - b; } -RB_PROTOTYPE(pointtree, point, rb_e, pointcmp) -RB_GENERATE(pointtree, point, rb_e, pointcmp) +RB_PROTOTYPE(pointtree, point, e, pointcmp) +RB_GENERATE(pointtree, point, e, pointcmp) int isempty(struct cluster *c)