[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 48/66] ipc/mach_port.c: use boolean instead of an int
From: |
Marin Ramesa |
Subject: |
[PATCH 48/66] ipc/mach_port.c: use boolean instead of an int |
Date: |
Thu, 5 Dec 2013 22:03:42 +0100 |
* ipc/mach_port.c (mach_port_deallocate_debug): Use boolean instead of an int.
---
ipc/mach_port.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index 46cb4de..e1d9419 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -555,7 +555,7 @@ mach_port_allocate(space, right, namep)
* KERN_INVALID_NAME The name doesn't denote a right.
*/
-static volatile int mach_port_deallocate_debug = 0;
+static volatile boolean_t mach_port_deallocate_debug = FALSE;
kern_return_t
mach_port_destroy(
--
1.8.1.4
- Re: [PATCH 40/66] i386/i386at/kd.h: remove ifdef, (continued)
- [PATCH 41/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 43/66] i386/i386at/rtc.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 42/66] i386/i386at/lpr.c: remove uninitialized variable, Marin Ramesa, 2013/12/05
- [PATCH 44/66] i386/i386at/rtc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 45/66] i386/intel/pmap.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 47/66] ipc/ipc_init.c: qualify constant with const, Marin Ramesa, 2013/12/05
- [PATCH 46/66] i386/intel/pmap.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 48/66] ipc/mach_port.c: use boolean instead of an int,
Marin Ramesa <=
- [PATCH 49/66] ipc/port.h: update comment, Marin Ramesa, 2013/12/05
- [PATCH 50/66] kern/act.c, act.h: comment unused variable, Marin Ramesa, 2013/12/05
- [PATCH 51/66] kern/act.h: remove prototype without definition, Marin Ramesa, 2013/12/05
- [PATCH 52/66] kern/debug.c: initialize the lock, Marin Ramesa, 2013/12/05
- [PATCH 53/66] kern/debug.c: initialize panicstr, Marin Ramesa, 2013/12/05
- [PATCH 54/66] kern/debug.c: remove unused variable, Marin Ramesa, 2013/12/05