commit c13f1f67f431ca4c2eed7bb839dc746f9732b908 parent b0e8ac71fe971fac7f5be459ed697d5861a12997 Author: sin <sin@2f30.org> Date: Thu, 11 Jun 2015 14:28:07 +0100 Add RB_PROTOTYPE Diffstat:
M | colors.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/colors.c b/colors.c @@ -58,6 +58,7 @@ pointcmp(struct point *p1, struct point *p2) return distance(¢er, p1) - distance(¢er, p2); } +RB_PROTOTYPE(pointtree, point, rb_e, pointcmp) RB_GENERATE(pointtree, point, rb_e, pointcmp) void