I want to call a static function from another C file. But it always show \"function\" used but never defined.
\"function\" used but never defined
In ble.c
I agree with Frodo and ANBU.SANKAR Still if you want to call a static function outside the file you can use examples like below.
1.c
extern (*func)(); int main(){ (func)(); return 0;}
2.c
static void call1(){ printf("a \n"); } (*func)() = &call1;