[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
- Re: [PATCH 03/66] chips/busses.h: remove ifdef, (continued)
[PATCH 04/66] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/12/05
[PATCH 05/66] ddb/db_command.h: remove duplicate variable declaration, Marin Ramesa, 2013/12/05
[PATCH 07/66] ddb/db_output.c: remove duplicate function, Marin Ramesa, 2013/12/05
[PATCH 06/66] ddb/db_output.c: remove call to nonexistent db_printf_enter(), Marin Ramesa, 2013/12/05
[PATCH 08/66] ddb/db_output.h: add comment, Marin Ramesa, 2013/12/05
[PATCH 09/66] device/blkio.c: remove function, Marin Ramesa, 2013/12/05
[PATCH 10/66] device/chario.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
[PATCH 11/66] device/cirbuf.c: use boolean instead of an int,
Marin Ramesa <=
[PATCH 12/66] device/cons.h: remove ifdef, Marin Ramesa, 2013/12/05
[PATCH 14/66] device/if_ether.h: remove unused variable, Marin Ramesa, 2013/12/05
[PATCH 13/66] device/dev_lookup.c: remove unused lock, Marin Ramesa, 2013/12/05
[PATCH 15/66] device/if_ether.h: remove ifdef, Marin Ramesa, 2013/12/05
[PATCH 16/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
[PATCH 17/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
[PATCH 18/66] device/tty.h, chario.h: move prototype, Marin Ramesa, 2013/12/05
[PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, Marin Ramesa, 2013/12/05