diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-10 20:38:35 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:23 -0400 |
commit | 3ea664c7c339a788341b47f1eb0aa98eee18a721 (patch) | |
tree | 48b90c958bb8dae9693451ce1c5f498bb65f7cae /README | |
parent | 6b13f0c050c787012edd9edb61d7e58798754aa8 (diff) | |
download | u-boot-imx-3ea664c7c339a788341b47f1eb0aa98eee18a721.zip u-boot-imx-3ea664c7c339a788341b47f1eb0aa98eee18a721.tar.gz u-boot-imx-3ea664c7c339a788341b47f1eb0aa98eee18a721.tar.bz2 |
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions