summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:05 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:50:30 +0900
commit763723cc3fc373b29ce3b83c2dae5a7c75901512 (patch)
treec913801452261c985d48bdd637538b855889bba9
parent38e75e45cac850ae50a8d20494937e1fcf6459f3 (diff)
device/cirbuf.c: use boolean instead of an int
* device/cirbuf.c (cb_check_enable): Use boolean instead of an int.
-rw-r--r--device/cirbuf.c2
1 files changed, 1 insertions, 1 deletions
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