Minimize k_boot.h's header file inclusion
The header file k_boot.h does not need everything that "k_types.h" drags in. It only needs "stdint.h" for the uint32_t type. This has an immediate impact on "flashboot.c" as it was improperly relying upon the extra items that "k_boot.h" dragged in. Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com> Change-Id: Ib8bfbec52a1198846295d549091dc30bf041d97a
This commit is contained in:
parent
ae0639c73d
commit
b52882f540
2 changed files with 4 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
#ifndef __K_BOOT_H__
|
||||
#define __K_BOOT_H__
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "microkernel/k_boot.h"
|
||||
#include <microkernel/k_boot.h>
|
||||
#include <toolchain.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern uint32_t *_currentbootinfo_word;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue