I want to call a static function from another C file. But it always show \"function\" used but never defined
.
In ble.c
For restricting function access from other file, the keyword static is used
Access to static functions is restricted to the file except where they are declared.When we want to restrict access to functions from outer world, we have to make them static. If you want access functions from other file, then go for global function i.e non static functions.