static function in header file is imported in every souce file that imports that header file.
And those source files all owns the copy of the static function.
The warning arouses because not every source files that import the header file uses the static function.
You’d better add “inline”
Inline
Summary: Suggests the body of a function should be moved into the callers.