summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-08-06 14:12:37 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-08-10 23:41:58 +0200
commit6d4c283f53d654ce31f5fe9c0a9ce14b28ddada8 (patch)
treeb7a7988eff4b2b3c154593a6869d1db4251ebed8
parentbc4705928326e133320d05f2b3b9ae97dc15cd22 (diff)
Consistently use Bool instead of BOOL.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
-rwxr-xr-xsrc/xgi.h8
-rwxr-xr-xsrc/xgi_driver.c2
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@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@09072009 */
unsigned char g_DVI_I_SignalType = 0x00;