Unit tests: Do not include mbed.h in storage stubs

The header `mbed.h` pulls in headers from a number of Mbed OS
components that are not necessarily used. It was intended for user
applications only, and libraries and unit tests should explicitly
include library headers it uses to limit dependencies.

This change avoids having to link unnecessary libraries in storage
unit tests' CMake definitions.
pull/14862/head
Lingkai Dong 2021-07-02 13:31:49 +01:00
parent b1645b2afa
commit 7e03912587
2 changed files with 0 additions and 2 deletions

View File

@ -16,7 +16,6 @@
*/
#include "ExhaustibleBlockDevice.h"
#include "mbed.h"
#include "mbed_critical.h"

View File

@ -17,7 +17,6 @@
#include "ObservingBlockDevice.h"
#include "ReadOnlyBlockDevice.h"
#include "mbed.h"
ObservingBlockDevice::ObservingBlockDevice(BlockDevice *bd)