dfu: mcuboot: rename boot_swap_type> mcuboot_swap_type

This function conflicts with a function of the same name in mcuboot.
This happens when building USB DFU support into mcuboot.

DFU over USB uses image manager and mcuboot internals to manage images
downloaded to the device.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-02-18 14:43:14 -05:00 committed by Carles Cufí
commit 996c252e51
4 changed files with 5 additions and 5 deletions

View file

@ -416,7 +416,7 @@ static int boot_read_swap_state(u8_t bank_id, struct boot_swap_state *state)
return 0;
}
int boot_swap_type(void)
int mcuboot_swap_type(void)
{
const struct boot_swap_table *table;
struct boot_swap_state state_slot0;