[PATCH:xf86-video-xgi 07/19] Consistently use Bool instead of BOOL.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:05 PDT 2015


Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/xgi.h        | 8 ++++----
 src/xgi_driver.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/xgi.h b/src/xgi.h
index a5702c4..dbae51f 100755
--- a/src/xgi.h
+++ b/src/xgi.h
@@ -51,7 +51,7 @@
 
 #ifndef XGI_VIDEO_HW /* avoid compile error in xgi_videohw.c; weird!  */
 /* Jong 07/27/2009; use run-time debug instead except for HW acceleration routines */
-extern BOOL g_bRunTimeDebug;
+extern Bool g_bRunTimeDebug;
 #define RUNTIMEDEBUG(p)		if(g_bRunTimeDebug)p;
 
 /* Jong at 08052009 */
@@ -807,12 +807,12 @@ typedef struct {
     MonitorRangeRec CRT1Range,CRT2Range;
 
 #ifdef XGIDUALHEAD
-    BOOL 		DualHeadMode;		/* TRUE if we use dual head mode */
-    BOOL 		SecondHead;		/* TRUE is this is the second head */
+    Bool 		DualHeadMode;		/* TRUE if we use dual head mode */
+    Bool 		SecondHead;		/* TRUE is this is the second head */
     XGIEntPtr 		entityPrivate;		/* Ptr to private entity (see above) */
 #endif
     XGIFBLayout         CurrentLayout;		/* Current framebuffer layout */
-    BOOL		Primary;		/* Display adapter is primary */
+    Bool		Primary;		/* Display adapter is primary */
     xf86Int10InfoPtr    pInt;			/* Our int10 */
     
     /**
diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index 72bb3c6..fec7b78 100755
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -136,7 +136,7 @@ xf86MonPtr  g_pMonitorDVI=NULL; /* Jong 12/04/2007; used for filtering of CRT1 m
 
 /* Jong 07/27/2009; use run-time debug instead except for HW acceleration routines */
 /* Set Option "RunTimeDebug" to "true" in X configuration file */
-BOOL g_bRunTimeDebug=0;
+Bool g_bRunTimeDebug=0;
 
 /* Jong at 09072009 */
 unsigned char g_DVI_I_SignalType = 0x00;
-- 
2.5.0



More information about the xorg-devel mailing list