bug-hurd
[Top][All Lists]
Advanced

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

[PATCH 11/66] device/cirbuf.c: use boolean instead of an int


From: Marin Ramesa
Subject: [PATCH 11/66] device/cirbuf.c: use boolean instead of an int
Date: Thu, 5 Dec 2013 22:03:05 +0100

* device/cirbuf.c (cb_check_enable): Use boolean instead of an int.

---
 device/cirbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/device/cirbuf.c b/device/cirbuf.c
index 7af2d7a..292b888 100644
--- a/device/cirbuf.c
+++ b/device/cirbuf.c
@@ -42,7 +42,7 @@
 /* if c_cl == c_cf - 1, buffer is full */
 
 #if    DEBUG
-int cb_check_enable = 0;
+boolean_t cb_check_enable = FALSE;
 #define        CB_CHECK(cb) if (cb_check_enable) cb_check(cb)
 
 void
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]