Skip to content

Commit

Permalink
[include] remove include of core config file (openthread#9417)
Browse files Browse the repository at this point in the history
The core config file shouldn't be included in public API headers
because they will be included from high level project code (like
ot-br-posix) and the config file cannot be located if included here.
  • Loading branch information
Irving-cl authored Sep 12, 2023
1 parent d62167e commit 694528a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion include/openthread/instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extern "C" {
* @note This number versions both OpenThread platform and user APIs.
*
*/
#define OPENTHREAD_API_VERSION (357)
#define OPENTHREAD_API_VERSION (358)

/**
* @addtogroup api-instance
Expand Down
2 changes: 0 additions & 2 deletions include/openthread/link_metrics.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#ifndef LINK_METRICS_H_
#define LINK_METRICS_H_

#include "openthread-core-config.h"

#include <openthread/ip6.h>
#include <openthread/message.h>
#include <openthread/platform/radio.h>
Expand Down

0 comments on commit 694528a

Please sign in to comment.