From fb0fe616f2e0ce8f31f88887ca2a7ec394886b90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Sun, 21 Jun 2009 18:43:27 -0400 Subject: [PATCH] Delete unused mod macro --- pixman/pixman-private.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h index 259a87d..8a09f79 100644 --- a/pixman/pixman-private.h +++ b/pixman/pixman-private.h @@ -456,11 +456,6 @@ _pixman_gradient_walker_pixel (pixman_gradient_walker_t *walker, # define MAX(a,b) ((a > b)? a : b) #endif -#if 0 -/* FIXME: the MOD macro above is equivalent, but faster I think */ -#define mod(a,b) ((b) == 1 ? 0 : (a) >= 0 ? (a) % (b) : (b) - (-a) % (b)) -#endif - /* FIXME: the (void)__read_func hides lots of warnings (which is what they * are supposed to do), but some of them are real. For example the one * where Fetch4 doesn't have a READ -- 2.7.4