Skip to content
Snippets Groups Projects
Commit 3ea664c7 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

env_callback.h: spl: mark callback as maybe_unused


When static inline is used in a header file the function
should preferably be inlined and if not possible made a
static function. When declared inside a c file there is a
static function, which might be inlined. Since SPL uses a
define to declare the static inline it becomes part of the
c file although it is declared in a header and clang will
warn that you have introduced unused static functions. Add
maybe_unused to prevent such warnings.

Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent 6b13f0c0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment