[PATCH 3/5] posix: _Configuration_POSIX_Minimum_stack_size
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Apr 9 07:10:46 UTC 2019
Rename to use proper namespace.
---
cpukit/include/rtems/confdefs.h | 2 +-
cpukit/include/rtems/posix/pthread.h | 2 +-
cpukit/include/rtems/posix/pthreadimpl.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index df3d831891..dfc917ccfe 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -2869,7 +2869,7 @@ struct _reent *__getreent(void)
#endif
#endif
- const size_t _Configuration_POSIX_Minimum_stack_size =
+ const size_t _POSIX_Threads_Minimum_stack_size =
CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE;
/**
diff --git a/cpukit/include/rtems/posix/pthread.h b/cpukit/include/rtems/posix/pthread.h
index 9b59fd922d..5df938e0b9 100644
--- a/cpukit/include/rtems/posix/pthread.h
+++ b/cpukit/include/rtems/posix/pthread.h
@@ -36,7 +36,7 @@ extern "C" {
*/
/**@{**/
-extern const size_t _Configuration_POSIX_Minimum_stack_size;
+extern const size_t _POSIX_Threads_Minimum_stack_size;
/**
* @brief POSIX threads initialize user threads body.
diff --git a/cpukit/include/rtems/posix/pthreadimpl.h b/cpukit/include/rtems/posix/pthreadimpl.h
index abb4d0f942..fd263c2761 100644
--- a/cpukit/include/rtems/posix/pthreadimpl.h
+++ b/cpukit/include/rtems/posix/pthreadimpl.h
@@ -40,7 +40,7 @@ extern "C" {
/**
* The following sets the minimum stack size for POSIX threads.
*/
-#define PTHREAD_MINIMUM_STACK_SIZE _Configuration_POSIX_Minimum_stack_size
+#define PTHREAD_MINIMUM_STACK_SIZE _POSIX_Threads_Minimum_stack_size
#if defined(RTEMS_POSIX_API)
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Sporadic_timer_insert(
--
2.16.4
More information about the devel
mailing list