I have had this issue in a case where the static
function was called before it was declared. Moving the function declaration to anywhere above the call solved my problem.
↧
Answer by raggot for How to solve static declaration follows non-static declaration in GCC C code?
↧