Fix libpayload build compilation warnings
When emerging libpayload a warning is generated about selfboot() being
defined without a prior prototype.
Addinf cbfs.h when CBFS use if compiled fixes the warning.
BUG=none
TEST=run the following
$ for b in rambi storm nyan_big; do
cros_workon-$b start libpayload
emerge-$b libpayload
done
verify that there is no compilation warnings thrown any more
Change-Id: Ic9cb5571f708bb006a0d477e451fd1f3b3eb833f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/200099
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
parent
033ba96516
commit
7e4aa17936
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@
|
|||
#ifdef CONFIG_LP_LAR
|
||||
#include <lar.h>
|
||||
#endif
|
||||
#ifdef CONFIG_LP_CBFS
|
||||
#include <cbfs.h>
|
||||
#endif
|
||||
|
||||
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue