mirror of
https://github.com/espressif/openthread.git
synced 2026-07-16 09:04:10 +00:00
[core] optimize #include directives in core cpp files (#10717)
This commit removes unnecessary `#include` directives in core `cpp` files that already include `instance.hpp`. The `instance.hpp` header itself includes all necessary OT core headers and definitions as they are contained within an `ot::Instance`.
This commit is contained in:
committed by
GitHub
parent
c6a4657178
commit
9f6921cf04
@@ -35,13 +35,7 @@
|
||||
|
||||
#if OPENTHREAD_FTD || OPENTHREAD_MTD
|
||||
|
||||
#include <openthread/thread.h>
|
||||
|
||||
#include "common/as_core_type.hpp"
|
||||
#include "common/debug.hpp"
|
||||
#include "common/uptime.hpp"
|
||||
#include "instance/instance.hpp"
|
||||
#include "thread/version.hpp"
|
||||
|
||||
using namespace ot;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user