How to call the static function from another c file?

前端 未结 6 1640
谎友^
谎友^ 2021-02-07 22:48

I want to call a static function from another C file. But it always show \"function\" used but never defined.

In ble.c

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-07 23:19

    The static function scope is file(i.e. translation unit) where it is defined.

提交回复
热议问题