mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
b1645b2afa
commit
7e03912587
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
|
||||
#include "ExhaustibleBlockDevice.h"
|
||||
#include "mbed.h"
|
||||
#include "mbed_critical.h"
|
||||
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include "ObservingBlockDevice.h"
|
||||
#include "ReadOnlyBlockDevice.h"
|
||||
#include "mbed.h"
|
||||
|
||||
|
||||
ObservingBlockDevice::ObservingBlockDevice(BlockDevice *bd)
|
||||
|
|
Loading…
Reference in New Issue