diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 10:26:40 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-29 10:33:38 +0100 |
commit | 033f31c8af6e742d3f56311b09b331ad0b222e3c (patch) | |
tree | 86e26a8883b410bed2cf11da1fd8142869b0a253 /cpukit/include/rtems/posix/pthreadimpl.h | |
parent | posix: Provide message queues by default (diff) | |
download | rtems-033f31c8af6e742d3f56311b09b331ad0b222e3c.tar.bz2 |
posix: Hide POSIX_API_Control by default
Update #2514.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/posix/pthreadimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/include/rtems/posix/pthreadimpl.h b/cpukit/include/rtems/posix/pthreadimpl.h index d900207fbd..be44716983 100644 --- a/cpukit/include/rtems/posix/pthreadimpl.h +++ b/cpukit/include/rtems/posix/pthreadimpl.h @@ -48,6 +48,7 @@ extern "C" { */ extern Thread_Information _POSIX_Threads_Information; +#if defined(RTEMS_POSIX_API) RTEMS_INLINE_ROUTINE void _POSIX_Threads_Sporadic_timer_insert( Thread_Control *the_thread, POSIX_API_Control *api @@ -62,6 +63,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Threads_Sporadic_timer_insert( _Timespec_To_ticks( &api->Sporadic.sched_ss_repl_period ) ); } +#endif void _POSIX_Threads_Sporadic_timer( Watchdog_Control *watchdog ); |