mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 06:37:46 +00:00
Apply #include code style. (#1723)
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
#include <openthread-config.h>
|
||||
#endif
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/message.h"
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_COMMISSIONER_H_
|
||||
#define OPENTHREAD_COMMISSIONER_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/platform/toolchain.h"
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/platform/toolchain.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_CRYPTO_H_
|
||||
#define OPENTHREAD_CRYPTO_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_DATASET_H_
|
||||
#define OPENTHREAD_DATASET_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_DATASET_FTD_H_
|
||||
#define OPENTHREAD_DATASET_FTD_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_DHCP6_CLIENT_H_
|
||||
#define OPENTHREAD_DHCP6_CLIENT_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_DHCP6_SERVER_H_
|
||||
#define OPENTHREAD_DHCP6_SERVER_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_DIAG_H_
|
||||
#define OPENTHREAD_DIAG_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
#include <openthread-config.h>
|
||||
#endif
|
||||
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_ICMP6_H_
|
||||
#define OPENTHREAD_ICMP6_H_
|
||||
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_INSTANCE_H_
|
||||
#define OPENTHREAD_INSTANCE_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/platform/logging.h"
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/platform/logging.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_IP6_H_
|
||||
#define OPENTHREAD_IP6_H_
|
||||
|
||||
#include "openthread/message.h"
|
||||
#include "platform/radio.h"
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/platform/radio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <openthread-config.h>
|
||||
#endif
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_JOINER_H_
|
||||
#define OPENTHREAD_JOINER_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/platform/toolchain.h"
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/platform/toolchain.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_LINK_H_
|
||||
#define OPENTHREAD_LINK_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "platform/radio.h"
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/platform/radio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef LINK_RAW_H_
|
||||
#define LINK_RAW_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "platform/radio.h"
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/platform/radio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_MESSAGE_H_
|
||||
#define OPENTHREAD_MESSAGE_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef NCP_H_
|
||||
#define NCP_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_NETDATA_H_
|
||||
#define OPENTHREAD_NETDATA_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,17 +35,16 @@
|
||||
#ifndef OPENTHREAD_H_
|
||||
#define OPENTHREAD_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
|
||||
#include "openthread/crypto.h"
|
||||
#include "openthread/dataset.h"
|
||||
#include "openthread/instance.h"
|
||||
#include "openthread/ip6.h"
|
||||
#include "openthread/link.h"
|
||||
#include "openthread/message.h"
|
||||
#include "openthread/netdata.h"
|
||||
#include "openthread/tasklet.h"
|
||||
#include "openthread/thread.h"
|
||||
#include <openthread/crypto.h>
|
||||
#include <openthread/dataset.h>
|
||||
#include <openthread/instance.h>
|
||||
#include <openthread/ip6.h>
|
||||
#include <openthread/link.h>
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/netdata.h>
|
||||
#include <openthread/tasklet.h>
|
||||
#include <openthread/thread.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -39,9 +39,8 @@
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <openthread/platform/radio.h>
|
||||
|
||||
#include <openthread/types.h>
|
||||
#include <openthread/platform/radio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,9 +37,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
|
||||
#include "openthread/message.h"
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
/**
|
||||
* @defgroup messagepool MessagePool
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef PLATFORM_H_
|
||||
#define PLATFORM_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OT_PLATFORM_SETTINGS_H
|
||||
#define OT_PLATFORM_SETTINGS_H 1
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef OPENTHREAD_TASKLET_H_
|
||||
#define OPENTHREAD_TASKLET_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
#ifndef OPENTHREAD_THREAD_H_
|
||||
#define OPENTHREAD_THREAD_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/link.h"
|
||||
#include "openthread/message.h"
|
||||
#include <openthread/link.h>
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
#ifndef OPENTHREAD_THREAD_FTD_H_
|
||||
#define OPENTHREAD_THREAD_FTD_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/link.h"
|
||||
#include "openthread/message.h"
|
||||
#include <openthread/link.h>
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <guiddef.h>
|
||||
#endif
|
||||
|
||||
#include "openthread/platform/toolchain.h"
|
||||
#include <openthread/platform/toolchain.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
#ifndef OPENTHREAD_UDP_H_
|
||||
#define OPENTHREAD_UDP_H_
|
||||
|
||||
#include "openthread/types.h"
|
||||
#include "openthread/message.h"
|
||||
#include <openthread/message.h>
|
||||
#include <openthread/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user