projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa6f8c
)
Delete unused mod macro
author
Søren Sandmann Pedersen
<sandmann@redhat.com>
Sun, 21 Jun 2009 22:43:27 +0000
(18:43 -0400)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Sun, 21 Jun 2009 22:43:27 +0000
(18:43 -0400)
pixman/pixman-private.h
patch
|
blob
|
history
diff --git
a/pixman/pixman-private.h
b/pixman/pixman-private.h
index
259a87d
..
8a09f79
100644
(file)
--- 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