[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 50/66] kern/act.c, act.h: comment unused variable
From: |
Marin Ramesa |
Subject: |
[PATCH 50/66] kern/act.c, act.h: comment unused variable |
Date: |
Thu, 5 Dec 2013 22:03:44 +0100 |
* kern/act.c (null_act): Comment unused variable.
* kern/act.h (null_act): Likewise.
---
kern/act.c | 2 +-
kern/act.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kern/act.c b/kern/act.c
index 321ff98..61b982e 100644
--- a/kern/act.c
+++ b/kern/act.c
@@ -61,7 +61,7 @@ static Act free_acts[ACT_STATIC_KLUDGE];
As you might expect, most of its members have no particular value.
alerts is zero. */
-Act null_act;
+/* Act null_act; */
void
global_act_init()
diff --git a/kern/act.h b/kern/act.h
index e064724..cddf6c7 100644
--- a/kern/act.h
+++ b/kern/act.h
@@ -175,7 +175,7 @@ void act_init(void);
kern_return_t act_terminate_task_locked(struct Act *act);
/* Exported to thread.c */
-extern Act null_act;
+/* extern Act null_act; */
kern_return_t act_create_kernel(Act **out_act);
/* Exported to machine-dependent activation code */
--
1.8.1.4
- Re: [PATCH 41/66] i386/i386at/kd.h: remove ifdef, (continued)
- [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, 2013/12/05
- [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 <=
- [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
- [PATCH 55/66] kern/lock_mon.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 57/66] kern/lock_mon.c: remove dead assignments, Marin Ramesa, 2013/12/05