[Pixman] [PATCH] Changed the style of two function headers to match the style of the other function headers
Sebastian Bauer
mail at sebastianbauer.info
Sun Jul 8 09:51:18 PDT 2012
Declare functions *_inverse() and *_contains_rectangle() in the same
way as the other functions are declared. This doesn't imply any semantic
changes. It's just a unification of coding styles.
---
pixman/pixman-region.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c
index 70c282d..2ef00b5 100644
--- a/pixman/pixman-region.c
+++ b/pixman/pixman-region.c
@@ -2041,8 +2041,8 @@ PREFIX (_subtract) (region_type_t *reg_d,
*
*-----------------------------------------------------------------------
*/
-pixman_bool_t
-PIXMAN_EXPORT PREFIX (_inverse) (region_type_t *new_reg, /*
Destination region */
+PIXMAN_EXPORT pixman_bool_t
+PREFIX (_inverse) (region_type_t *new_reg, /* Destination region */
region_type_t *reg1, /* Region to
invert */
box_type_t * inv_rect) /* Bounding
box for inversion */
{
@@ -2137,8 +2137,8 @@ find_box_for_y (box_type_t *begin, box_type_t
*end, int y)
* partially in the region) or is outside the region (we reached a
band
* that doesn't overlap the box at all and part_in is false)
*/
-pixman_region_overlap_t
-PIXMAN_EXPORT PREFIX (_contains_rectangle) (region_type_t * region,
+PIXMAN_EXPORT pixman_region_overlap_t
+PREFIX (_contains_rectangle) (region_type_t * region,
box_type_t * prect)
{
box_type_t * pbox;
--
1.7.10.4
More information about the Pixman
mailing list