[gimp] whitespace cleanup and removed inclusion of <sys/types.h>



commit ac680f1cbdf5d98912e81965fbe09e08ea6f51fe
Author: Sven Neumann <sven gimp org>
Date:   Thu Jun 4 10:49:38 2009 +0200

    whitespace cleanup and removed inclusion of <sys/types.h>
---
 app/base/tile-private.h |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/app/base/tile-private.h b/app/base/tile-private.h
index 02a1e98..2b73a33 100644
--- a/app/base/tile-private.h
+++ b/app/base/tile-private.h
@@ -18,10 +18,10 @@
 #ifndef __TILE_PRIVATE_H__
 #define __TILE_PRIVATE_H__
 
+
 /*  Uncomment to enable global counters to profile the tile system. */
 /*  #define TILE_PROFILING */
 
-#include <sys/types.h>
 
 typedef struct _TileLink TileLink;
 
@@ -36,6 +36,7 @@ struct _TileLink
                           */
 };
 
+
 struct _Tile
 {
   gshort  ref_count;    /* reference count. when the reference count is
@@ -90,11 +91,15 @@ struct _Tile
 };
 
 
-/*  tile_data_pointer() as a macro so that it can be inlined  */
-/*  note that (y) & (TILE_HEIGHT-1) is equivalent to (y) % TILE_HEIGHT 
-    for positive power-of-two divisors */
+/*  tile_data_pointer() as a macro so that it can be inlined
+ *
+ *  Note that (y) & (TILE_HEIGHT-1) is equivalent to (y) % TILE_HEIGHT
+ *  for positive power-of-two divisors
+ */
 #define TILE_DATA_POINTER(tile,x,y) \
   ((tile)->data + \
-   (((y) & (TILE_HEIGHT-1)) * (tile)->ewidth + ((x) & (TILE_WIDTH-1))) * (tile)->bpp)
+   (((y) & (TILE_HEIGHT-1)) * \
+    (tile)->ewidth + ((x) & (TILE_WIDTH-1))) * (tile)->bpp)
+
 
 #endif /* __TILE_PRIVATE_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]