in my project , I declare a function in header file and include it in 2 c files. and put definition in a c file and try to access this function in another c file. but it gave error of undefine reference to function.