[rtems commit] posix: _Configuration_POSIX_Minimum_stack_size
Sebastian Huber
sebh at rtems.org
Wed Apr 10 07:50:25 UTC 2019
Module: rtems
Branch: master
Commit: e6a8410321573f5c91a9ba6fcf40534fc6bb6368
Changeset: http://git.rtems.org/rtems/commit/?id=e6a8410321573f5c91a9ba6fcf40534fc6bb6368
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sat Apr 6 14:28:19 2019 +0200
posix: _Configuration_POSIX_Minimum_stack_size
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 df3d831..dfc917c 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 9b59fd9..5df938e 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 abb4d0f..fd263c2 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(
More information about the vc
mailing list