From 04fac3525228353b5e8d686e95f66993a52997fb Mon Sep 17 00:00:00 2001 From: Ashok Rao Date: Wed, 15 Jul 2020 13:54:52 +0100 Subject: [PATCH] Incorporating reveiw comments - Moving mbed_rtos_types.h to public headers --- rtos/include/rtos/ConditionVariable.h | 2 +- rtos/include/rtos/EventFlags.h | 2 +- rtos/include/rtos/Kernel.h | 2 +- rtos/include/rtos/Mail.h | 2 +- rtos/include/rtos/MemoryPool.h | 2 +- rtos/include/rtos/Mutex.h | 2 +- rtos/include/rtos/Queue.h | 2 +- rtos/include/rtos/Semaphore.h | 2 +- rtos/include/rtos/ThisThread.h | 2 +- rtos/include/rtos/Thread.h | 2 +- rtos/include/rtos/{internal => }/mbed_rtos_types.h | 0 rtos/source/rtos_handlers.h | 2 +- 12 files changed, 11 insertions(+), 11 deletions(-) rename rtos/include/rtos/{internal => }/mbed_rtos_types.h (100%) diff --git a/rtos/include/rtos/ConditionVariable.h b/rtos/include/rtos/ConditionVariable.h index c90b297732..d602d7c309 100644 --- a/rtos/include/rtos/ConditionVariable.h +++ b/rtos/include/rtos/ConditionVariable.h @@ -25,7 +25,7 @@ #include #include -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/Mutex.h" #include "rtos/Semaphore.h" #include "rtos/Kernel.h" diff --git a/rtos/include/rtos/EventFlags.h b/rtos/include/rtos/EventFlags.h index 18697022c6..2cd2347dfd 100644 --- a/rtos/include/rtos/EventFlags.h +++ b/rtos/include/rtos/EventFlags.h @@ -26,7 +26,7 @@ #include #include #include "rtos/Kernel.h" -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos1_types.h" #include "rtos/internal/mbed_rtos_storage.h" diff --git a/rtos/include/rtos/Kernel.h b/rtos/include/rtos/Kernel.h index 63d4dad1dd..c653b163f0 100644 --- a/rtos/include/rtos/Kernel.h +++ b/rtos/include/rtos/Kernel.h @@ -25,7 +25,7 @@ #include #include -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "platform/mbed_toolchain.h" #if !MBED_CONF_RTOS_PRESENT #include "platform/source/mbed_os_timer.h" diff --git a/rtos/include/rtos/Mail.h b/rtos/include/rtos/Mail.h index 65d40e5575..552ae8c483 100644 --- a/rtos/include/rtos/Mail.h +++ b/rtos/include/rtos/Mail.h @@ -28,7 +28,7 @@ #include "rtos/Queue.h" #include "rtos/MemoryPool.h" -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos_storage.h" #include "rtos/internal/mbed_rtos1_types.h" diff --git a/rtos/include/rtos/MemoryPool.h b/rtos/include/rtos/MemoryPool.h index 6ed7804304..32d2255bfb 100644 --- a/rtos/include/rtos/MemoryPool.h +++ b/rtos/include/rtos/MemoryPool.h @@ -26,7 +26,7 @@ #include #include -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos1_types.h" #include "rtos/internal/mbed_rtos_storage.h" #include "platform/NonCopyable.h" diff --git a/rtos/include/rtos/Mutex.h b/rtos/include/rtos/Mutex.h index 163b671e01..15cdf9dee9 100644 --- a/rtos/include/rtos/Mutex.h +++ b/rtos/include/rtos/Mutex.h @@ -24,7 +24,7 @@ #define MUTEX_H #include -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos1_types.h" #include "rtos/internal/mbed_rtos_storage.h" #include "rtos/Kernel.h" diff --git a/rtos/include/rtos/Queue.h b/rtos/include/rtos/Queue.h index a8e8828328..5b7052fd84 100644 --- a/rtos/include/rtos/Queue.h +++ b/rtos/include/rtos/Queue.h @@ -23,7 +23,7 @@ #ifndef QUEUE_H #define QUEUE_H -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos1_types.h" #include "rtos/internal/mbed_rtos_storage.h" #include "rtos/Kernel.h" diff --git a/rtos/include/rtos/Semaphore.h b/rtos/include/rtos/Semaphore.h index be35754f2b..a28cb24694 100644 --- a/rtos/include/rtos/Semaphore.h +++ b/rtos/include/rtos/Semaphore.h @@ -25,7 +25,7 @@ #include #include -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos1_types.h" #include "rtos/internal/mbed_rtos_storage.h" #include "rtos/Kernel.h" diff --git a/rtos/include/rtos/ThisThread.h b/rtos/include/rtos/ThisThread.h index 7a5aeddf41..76c1387b0b 100644 --- a/rtos/include/rtos/ThisThread.h +++ b/rtos/include/rtos/ThisThread.h @@ -26,7 +26,7 @@ #include #include "platform/mbed_toolchain.h" #include "rtos/Kernel.h" -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" namespace rtos { /** \addtogroup rtos-public-api */ diff --git a/rtos/include/rtos/Thread.h b/rtos/include/rtos/Thread.h index a2bfbf07e2..ec698c358d 100644 --- a/rtos/include/rtos/Thread.h +++ b/rtos/include/rtos/Thread.h @@ -24,7 +24,7 @@ #define THREAD_H #include -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #include "rtos/internal/mbed_rtos1_types.h" #include "rtos/internal/mbed_rtos_storage.h" #include "platform/Callback.h" diff --git a/rtos/include/rtos/internal/mbed_rtos_types.h b/rtos/include/rtos/mbed_rtos_types.h similarity index 100% rename from rtos/include/rtos/internal/mbed_rtos_types.h rename to rtos/include/rtos/mbed_rtos_types.h diff --git a/rtos/source/rtos_handlers.h b/rtos/source/rtos_handlers.h index c2a0835dcd..c87b6b7af0 100644 --- a/rtos/source/rtos_handlers.h +++ b/rtos/source/rtos_handlers.h @@ -23,7 +23,7 @@ #ifndef RTOS_HANDLERS_H #define RTOS_HANDLERS_H -#include "rtos/internal/mbed_rtos_types.h" +#include "rtos/mbed_rtos_types.h" #ifdef __cplusplus extern "C" {