From 20971855af238043798b903d73780b5f83b984a6 Mon Sep 17 00:00:00 2001 From: Sergei Lissianoi <54454955+selissia@users.noreply.github.com> Date: Fri, 5 May 2023 09:19:52 -0400 Subject: [PATCH] Change the extension from .cpp to .hpp in the files that aren't compile targets (#26374) --- examples/platform/telink/common/src/AppTaskCommon.cpp | 2 +- src/platform/ESP32/ThreadStackManagerImpl.cpp | 2 +- ...reeRTOS.cpp => GenericThreadStackManagerImpl_FreeRTOS.hpp} | 0 src/platform/Infineon/CYW30739/ThreadStackManagerImpl.cpp | 2 +- ...hread.cpp => GenericThreadStackManagerImpl_OpenThread.hpp} | 0 .../GenericThreadStackManagerImpl_OpenThread_LwIP.cpp | 2 +- src/platform/Zephyr/ThreadStackManagerImpl.cpp | 2 +- src/platform/bouffalolab/BL702/ThreadStackManagerImpl.cpp | 2 +- src/platform/cc13x2_26x2/ThreadStackManagerImpl.cpp | 2 +- src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp | 4 ++-- src/platform/qpg/ThreadStackManagerImpl.cpp | 4 ++-- src/platform/silabs/efr32/ThreadStackManagerImpl.cpp | 4 ++-- src/platform/telink/ThreadStackManagerImpl.cpp | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) rename src/platform/FreeRTOS/{GenericThreadStackManagerImpl_FreeRTOS.cpp => GenericThreadStackManagerImpl_FreeRTOS.hpp} (100%) rename src/platform/OpenThread/{GenericThreadStackManagerImpl_OpenThread.cpp => GenericThreadStackManagerImpl_OpenThread.hpp} (100%) diff --git a/examples/platform/telink/common/src/AppTaskCommon.cpp b/examples/platform/telink/common/src/AppTaskCommon.cpp index 37e8bf36d4846a..46f42f0c66c1fd 100644 --- a/examples/platform/telink/common/src/AppTaskCommon.cpp +++ b/examples/platform/telink/common/src/AppTaskCommon.cpp @@ -223,7 +223,7 @@ CHIP_ERROR AppTaskCommon::InitCommonParts(void) #if APP_SET_NETWORK_COMM_ENDPOINT_SEC // We only have network commissioning on endpoint 0. // Set up a valid Network Commissioning cluster on endpoint 0 is done in - // src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp + // src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp emberAfEndpointEnableDisable(kNetworkCommissioningEndpointSecondary, false); #endif diff --git a/src/platform/ESP32/ThreadStackManagerImpl.cpp b/src/platform/ESP32/ThreadStackManagerImpl.cpp index 5b4a311b48234a..eed07af6d68af1 100644 --- a/src/platform/ESP32/ThreadStackManagerImpl.cpp +++ b/src/platform/ESP32/ThreadStackManagerImpl.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include "driver/uart.h" #include "esp_err.h" diff --git a/src/platform/FreeRTOS/GenericThreadStackManagerImpl_FreeRTOS.cpp b/src/platform/FreeRTOS/GenericThreadStackManagerImpl_FreeRTOS.hpp similarity index 100% rename from src/platform/FreeRTOS/GenericThreadStackManagerImpl_FreeRTOS.cpp rename to src/platform/FreeRTOS/GenericThreadStackManagerImpl_FreeRTOS.hpp diff --git a/src/platform/Infineon/CYW30739/ThreadStackManagerImpl.cpp b/src/platform/Infineon/CYW30739/ThreadStackManagerImpl.cpp index 747c04990242ca..f0393a795ef63a 100644 --- a/src/platform/Infineon/CYW30739/ThreadStackManagerImpl.cpp +++ b/src/platform/Infineon/CYW30739/ThreadStackManagerImpl.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include diff --git a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp similarity index 100% rename from src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.cpp rename to src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp diff --git a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.cpp b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.cpp index 6abc66e2898659..bdbcd624e71804 100644 --- a/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.cpp +++ b/src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread_LwIP.cpp @@ -36,7 +36,7 @@ #include -#include +#include #include diff --git a/src/platform/Zephyr/ThreadStackManagerImpl.cpp b/src/platform/Zephyr/ThreadStackManagerImpl.cpp index e70135de586a07..3cfcfe3b7888b2 100644 --- a/src/platform/Zephyr/ThreadStackManagerImpl.cpp +++ b/src/platform/Zephyr/ThreadStackManagerImpl.cpp @@ -24,7 +24,7 @@ /* this file behaves like a config.h, comes first */ #include -#include +#include #include #include diff --git a/src/platform/bouffalolab/BL702/ThreadStackManagerImpl.cpp b/src/platform/bouffalolab/BL702/ThreadStackManagerImpl.cpp index 469f96eb3dfed3..c4981afe84a656 100644 --- a/src/platform/bouffalolab/BL702/ThreadStackManagerImpl.cpp +++ b/src/platform/bouffalolab/BL702/ThreadStackManagerImpl.cpp @@ -17,7 +17,7 @@ #include -#include +#include #include #include diff --git a/src/platform/cc13x2_26x2/ThreadStackManagerImpl.cpp b/src/platform/cc13x2_26x2/ThreadStackManagerImpl.cpp index ef2a433998bd55..c62fa61460f9fb 100644 --- a/src/platform/cc13x2_26x2/ThreadStackManagerImpl.cpp +++ b/src/platform/cc13x2_26x2/ThreadStackManagerImpl.cpp @@ -27,7 +27,7 @@ /* this file behaves like a config.h, comes first */ #include -#include +#include #include #include diff --git a/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp b/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp index af2d7421646739..d525fc4a1e3ee7 100644 --- a/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp +++ b/src/platform/nxp/k32w/k32w0/ThreadStackManagerImpl.cpp @@ -31,8 +31,8 @@ #include #include -#include -#include +#include +#include #include diff --git a/src/platform/qpg/ThreadStackManagerImpl.cpp b/src/platform/qpg/ThreadStackManagerImpl.cpp index aa7a05285db35e..cb6fd0e2ec1289 100644 --- a/src/platform/qpg/ThreadStackManagerImpl.cpp +++ b/src/platform/qpg/ThreadStackManagerImpl.cpp @@ -25,8 +25,8 @@ /* this file behaves like a config.h, comes first */ #include -#include -#include +#include +#include #include #include diff --git a/src/platform/silabs/efr32/ThreadStackManagerImpl.cpp b/src/platform/silabs/efr32/ThreadStackManagerImpl.cpp index aa4add21323c52..83767f9a0e1fb8 100644 --- a/src/platform/silabs/efr32/ThreadStackManagerImpl.cpp +++ b/src/platform/silabs/efr32/ThreadStackManagerImpl.cpp @@ -26,8 +26,8 @@ /* this file behaves like a config.h, comes first */ #include -#include -#include +#include +#include #include #include diff --git a/src/platform/telink/ThreadStackManagerImpl.cpp b/src/platform/telink/ThreadStackManagerImpl.cpp index f4bc4fea5bdfa2..7b56409bba1727 100644 --- a/src/platform/telink/ThreadStackManagerImpl.cpp +++ b/src/platform/telink/ThreadStackManagerImpl.cpp @@ -24,7 +24,7 @@ /* this file behaves like a config.h, comes first */ #include -#include +#include #include #include