Silence build warning on x86

Move the declaration of zephyr_flash_area_warn_on_open where all
targets can see it.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
Marti Bolivar 2017-09-14 14:36:44 -04:00
parent 55237d7097
commit 97d997a733
1 changed files with 2 additions and 2 deletions

View File

@ -32,14 +32,14 @@ struct device *boot_flash_device;
void os_heap_init(void);
extern void zephyr_flash_area_warn_on_open(void);
#if defined(CONFIG_ARM)
struct arm_vector_table {
uint32_t msp;
uint32_t reset;
};
extern void zephyr_flash_area_warn_on_open(void);
static void do_boot(struct boot_rsp *rsp)
{
struct arm_vector_table *vt;