Apply #include code style. (#1723)

This commit is contained in:
Jonathan Hui
2017-05-05 11:28:29 -07:00
committed by GitHub
parent 7e50d1a668
commit fbfd76a990
295 changed files with 1465 additions and 1336 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
#include <openthread-config.h>
#endif
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+2 -2
View File
@@ -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" {
+2 -2
View File
@@ -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" {
+1 -1
View File
@@ -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" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef OPENTHREAD_DATASET_H_
#define OPENTHREAD_DATASET_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -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" {
+1 -1
View File
@@ -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" {
+1 -1
View File
@@ -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" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef OPENTHREAD_DIAG_H_
#define OPENTHREAD_DIAG_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -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" {
+1 -1
View File
@@ -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" {
+2 -2
View File
@@ -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" {
+2 -2
View File
@@ -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" {
+1 -1
View File
@@ -41,7 +41,7 @@
#include <openthread-config.h>
#endif
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+2 -2
View File
@@ -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" {
+2 -2
View File
@@ -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" {
+2 -2
View File
@@ -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" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef OPENTHREAD_MESSAGE_H_
#define OPENTHREAD_MESSAGE_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef NCP_H_
#define NCP_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef OPENTHREAD_NETDATA_H_
#define OPENTHREAD_NETDATA_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+10 -11
View File
@@ -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" {
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -2
View File
@@ -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" {
+2 -3
View File
@@ -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
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef PLATFORM_H_
#define PLATFORM_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -38,7 +38,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -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" {
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -37,7 +37,7 @@
#include <stdint.h>
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -35,7 +35,7 @@
#ifndef OPENTHREAD_TASKLET_H_
#define OPENTHREAD_TASKLET_H_
#include "openthread/types.h"
#include <openthread/types.h>
#ifdef __cplusplus
extern "C" {
+3 -3
View File
@@ -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" {
+3 -3
View File
@@ -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" {
+1 -1
View File
@@ -41,7 +41,7 @@
#include <guiddef.h>
#endif
#include "openthread/platform/toolchain.h"
#include <openthread/platform/toolchain.h>
#ifdef __cplusplus
extern "C" {
+2 -2
View File
@@ -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" {