Home
last modified time | relevance | path

Searched hist:"3 ea664c7c339a788341b47f1eb0aa98eee18a721" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Denv_callback.h3ea664c7c339a788341b47f1eb0aa98eee18a721 Thu Jul 10 18:38:35 UTC 2014 Jeroen Hofstee <jeroen@myspectrum.nl> 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: Jeroen Hofstee <jeroen@myspectrum.nl>