bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

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