Introduction
mcuboot.c file implements functionality required for interact with MCUBoot bootloader.
This had been introduced before the west was introduced.
Some parts of this code are reimpregnations of what is implemented in mcuboot repository.
Mcuboot's repository provide implementation of function required for application for interact with the MCUboot.
Problem description
As some code are defined here and there it becomes problem when module is compiled within MCUboot.
It is possible to mitigate problem using #fdefry - but this is temporary hack.