diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-24 11:37:28 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-26 11:55:43 +0200 |
commit | bd5606abcb2cf1e4c778a5063f158990be9bee62 (patch) | |
tree | 7eb44d87647956ed3dc50bbfe40baff483c16efb /cpukit/score/inline/rtems/score | |
parent | libtests/malloc04: Fixes for RTEMS_DEBUG (diff) | |
download | rtems-bd5606abcb2cf1e4c778a5063f158990be9bee62.tar.bz2 |
score: Create schedulersimple impl header
Move implementation specific parts of schedulersimple.h and
schedulersimple.inl into new header file schedulersimpleimpl.h. The
schedulersimple.h contains now only the application visible API.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersimpleimpl.h (renamed from cpukit/score/inline/rtems/score/schedulersimple.inl) | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/cpukit/score/inline/rtems/score/schedulersimple.inl b/cpukit/score/include/rtems/score/schedulersimpleimpl.h index 8b2480ea0a..e8c4cc6cad 100644 --- a/cpukit/score/inline/rtems/score/schedulersimple.inl +++ b/cpukit/score/include/rtems/score/schedulersimpleimpl.h @@ -16,14 +16,14 @@ * http://www.rtems.com/license/LICENSE. */ -#ifndef _RTEMS_SCORE_SCHEDULERSIMPLE_H -# error "Never use <rtems/score/schedulersimple.inl> directly; include <rtems/score/schedulersimple.h> instead." -#endif +#ifndef _RTEMS_SCORE_SCHEDULERSIMPLEIMPL_H +#define _RTEMS_SCORE_SCHEDULERSIMPLEIMPL_H -#ifndef _RTEMS_SCORE_SCHEDULERSIMPLE_INL -#define _RTEMS_SCORE_SCHEDULERSIMPLE_INL +#include <rtems/score/schedulersimple.h> -#include <rtems/score/thread.h> +#ifdef __cplusplus +extern "C" { +#endif /** * @addtogroup ScoreScheduler @@ -96,5 +96,9 @@ RTEMS_INLINE_ROUTINE void _Scheduler_simple_Insert_priority_fifo( /** @} */ +#ifdef __cplusplus +} +#endif + #endif /* end of include file */ |