summaryrefslogtreecommitdiffstats
path: root/cpukit/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-10 09:21:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-11 07:45:58 +0200
commitab5aeb1be1e7f501388cf4c8915f98efaaef754a (patch)
tree3dde1935aa45abb441b6a250c5447ff44ad222d6 /cpukit/include
parentrtems: rtems_scheduler_get_processor_set() docs (diff)
downloadrtems-ab5aeb1be1e7f501388cf4c8915f98efaaef754a.tar.bz2
score: Rename _Stack_Free_nothing()
Rename _Stack_Free_nothing() in _Objects_Free_nothing() to make it reusable for the message queue buffers. Update #4007.
Diffstat (limited to 'cpukit/include')
-rw-r--r--cpukit/include/rtems/score/objectimpl.h7
-rw-r--r--cpukit/include/rtems/score/stackimpl.h7
-rw-r--r--cpukit/include/rtems/score/threadimpl.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/include/rtems/score/objectimpl.h b/cpukit/include/rtems/score/objectimpl.h
index 54d6f0841b..0c9c85e062 100644
--- a/cpukit/include/rtems/score/objectimpl.h
+++ b/cpukit/include/rtems/score/objectimpl.h
@@ -954,6 +954,13 @@ RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Allocate_with_extend(
return the_object;
}
+/**
+ * @brief This function does nothing.
+ *
+ * @param ptr is not used.
+ */
+void _Objects_Free_nothing( void *ptr );
+
/** @} */
#ifdef __cplusplus
diff --git a/cpukit/include/rtems/score/stackimpl.h b/cpukit/include/rtems/score/stackimpl.h
index c261f8bd4f..330fd32be7 100644
--- a/cpukit/include/rtems/score/stackimpl.h
+++ b/cpukit/include/rtems/score/stackimpl.h
@@ -194,13 +194,6 @@ void *_Stack_Allocate( size_t stack_size );
*/
void _Stack_Free( void *stack_area );
-/**
- * @brief This function does nothing.
- *
- * @param stack_area is not used.
- */
-void _Stack_Free_nothing( void *stack_area );
-
/** @} */
#ifdef __cplusplus
diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h
index c861e8b119..ba7c159962 100644
--- a/cpukit/include/rtems/score/threadimpl.h
+++ b/cpukit/include/rtems/score/threadimpl.h
@@ -144,7 +144,7 @@ typedef struct {
/**
* @brief This member contains the handler to free the stack.
*
- * It shall not be NULL. Use _Stack_Free_nothing() if nothing is to free.
+ * It shall not be NULL. Use _Objects_Free_nothing() if nothing is to free.
*/
void ( *stack_free )( void * );