Hi all:<div><br></div><div>I am wondering how to establish the map between a declaration of function in header file and its implementation in .c file. For example, sched_init(void) is declared at /include/linux/sched.h as: <b>extern void sched_init(void) </b>;</div>
<div><br></div><div>and is implemented at /kernel/sched.c. How is it mapped ? by name ?</div><div><br></div><div>If i want to write my own function A() and it is declared at /include/linux/sched.h, A() is implemented at kernel/my_function.c. How do I establish this relationship to make other guys who include <linux/sched.h> can call A().</div>
<div><br></div><div>Thanks.</div><div><br></div><div><font class="Apple-style-span" face="monospace" size="3"><span class="Apple-style-span" style="white-space:pre"><br></span></font></div>