summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:08 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 06:45:10 +0900
commit55d31d595952e67e16f81f7ef60eda96fe577da4 (patch)
tree574cdb9ef4081ea88bb9e30ad3adea146badcef1
parent4c427f351acb585bf06f63218cb8ced221d889e0 (diff)
kern/thread.c: remove forward declaration
* i386/i386/pcb.h (pcb_module_init): Add prototype. * kern/thread.c (pcb_module_init): Remove forward declaration.
-rw-r--r--i386/i386/pcb.h2
-rw-r--r--kern/thread.c2
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;