summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/onceimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-04 09:36:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-05-04 09:37:06 +0200
commit3e16f1a6e22a15e73bf3f45f656b5d856db1dfa0 (patch)
tree132a783ef8bea2b195474e27f0e761b6da3352b0 /cpukit/include/rtems/score/onceimpl.h
parentrtems: Use allocator mutex for timer server (diff)
downloadrtems-3e16f1a6e22a15e73bf3f45f656b5d856db1dfa0.tar.bz2
score: Make _Once_Lock() and _Once_Unlock() static
These two functions are no longer used outside of _Once().
Diffstat (limited to 'cpukit/include/rtems/score/onceimpl.h')
-rw-r--r--cpukit/include/rtems/score/onceimpl.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpukit/include/rtems/score/onceimpl.h b/cpukit/include/rtems/score/onceimpl.h
index fcd831ad2b..bac19f0f20 100644
--- a/cpukit/include/rtems/score/onceimpl.h
+++ b/cpukit/include/rtems/score/onceimpl.h
@@ -57,22 +57,6 @@ extern "C" {
*/
int _Once( unsigned char *once_state, void ( *init_routine )( void ) );
-/**
- * @brief Locks the Once_Information_Mutex and returns the thread life state.
- *
- * @return The thread life state (THREAD_LIFE_PROTECTED).
- */
-Thread_Life_state _Once_Lock( void );
-
-/**
- * @brief Unlocks the Once_Information_Mutex and sets the thread life
- * protection to thread_life_state.
- *
- * @param thread_life_state The thread life state to set the thread life
- * protection to.
- */
-void _Once_Unlock( Thread_Life_state thread_life_state );
-
/** @} */
#ifdef __cplusplus