[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 43/68] kern/thread.c: remove forward declaration
From: |
Marin Ramesa |
Subject: |
[PATCH 43/68] kern/thread.c: remove forward declaration |
Date: |
Fri, 29 Nov 2013 22:54:08 +0100 |
* i386/i386/pcb.h (pcb_module_init): Add prototype.
* kern/thread.c (pcb_module_init): Remove forward declaration.
---
i386/i386/pcb.h | 2 ++
kern/thread.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/i386/i386/pcb.h b/i386/i386/pcb.h
index 4aad0b2..b2e5f07 100644
--- a/i386/i386/pcb.h
+++ b/i386/i386/pcb.h
@@ -80,4 +80,6 @@ extern thread_t Switch_context (thread_t old, void
(*continuation)(), thread_t n
extern void Thread_continue (void);
+extern void pcb_module_init (void);
+
#endif /* _I386_PCB_H_ */
diff --git a/kern/thread.c b/kern/thread.c
index 7232412..1414078 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -74,8 +74,6 @@ struct kmem_cache thread_cache;
queue_head_t reaper_queue;
decl_simple_lock_data(, reaper_lock)
-extern void pcb_module_init(void);
-
/* private */
struct thread thread_template;
--
1.8.1.4
- [PATCH 35/68] kern/debug.c: remove forward declaration, (continued)
- [PATCH 35/68] kern/debug.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 36/68] kern/ipc_mig.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 37/68] kern/processor.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 39/68] kern/startup.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 38/68] kern/sched_prim.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 40/68] kern/syscall_subr.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 41/68] kern/syscall_sw.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 42/68] kern/task.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 43/68] kern/thread.c: remove forward declaration,
Marin Ramesa <=
- [PATCH 44/68] kern: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 45/68] ipc/ipc_kmsg.h: update comment, Marin Ramesa, 2013/11/29
- [PATCH 46/68] kern/ipc_kobject.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 47/68] vm/vm_fault.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 48/68] vm/vm_kern.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 50/68] vm/vm_pageout.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 49/68] vm/vm_map.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 52/68] vm/vm_user.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 51/68] vm/vm_resident.c: correct comment, Marin Ramesa, 2013/11/29
- [PATCH 53/68] Normalize whitespace, Marin Ramesa, 2013/11/29