summaryrefslogtreecommitdiff
path: root/mi/miregion.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-05-09 18:57:05 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-05-11 11:43:19 -0400
commit8dcc37520d5e8c8b52cee81faa67fd5205548377 (patch)
treeb3837581a08a45b6988d6352fa589ef9efc993ac /mi/miregion.c
parent6ff239cb4e67c0a2ea497a1714e5585c1d941af3 (diff)
Use _X_INLINE instead of ad-hoc #defines.
Diffstat (limited to 'mi/miregion.c')
-rw-r--r--mi/miregion.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/mi/miregion.c b/mi/miregion.c
index e980ad18e..0eab6623a 100644
--- a/mi/miregion.c
+++ b/mi/miregion.c
@@ -81,16 +81,11 @@ Equipment Corporation.
#include "regionstr.h"
#include <X11/Xprotostr.h>
+#include <X11/Xfuncproto.h>
#include "gc.h"
#include "mi.h"
#include "mispans.h"
-#if defined (__GNUC__) && !defined (NO_INLINES)
-#define INLINE __inline
-#else
-#define INLINE
-#endif
-
#undef assert
#ifdef DEBUG
#define assert(expr) {if (!(expr)) \
@@ -506,7 +501,7 @@ miRegionCopy(dst, src)
*
*-----------------------------------------------------------------------
*/
-INLINE static int
+_X_INLINE static int
miCoalesce (
RegionPtr pReg, /* Region to coalesce */
int prevStart, /* Index of start of previous band */
@@ -590,7 +585,7 @@ miCoalesce (
*-----------------------------------------------------------------------
*/
-INLINE static Bool
+_X_INLINE static Bool
miAppendNonO (
RegionPtr pReg,
BoxPtr r,