sim: Flatten 'area' module in mcuboot-sys
It isn't necessary for the 'area' module to be exposed. Re-export the
two definitions from the crate at the top level, and make the module
private.
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/sim/src/main.rs b/sim/src/main.rs
index 61eb2c0..3156b9c 100644
--- a/sim/src/main.rs
+++ b/sim/src/main.rs
@@ -24,8 +24,7 @@
mod tlv;
use simflash::{Flash, SimFlash};
-use mcuboot_sys::area::{AreaDesc, FlashId};
-use mcuboot_sys::c;
+use mcuboot_sys::{c, AreaDesc, FlashId};
use caps::Caps;
use tlv::TlvGen;