summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/options.inl
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 11:03:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 15:12:52 +0200
commitcaab339b6c19f12103d1c0ddeaa55b449318d98c (patch)
tree6beb61507aaf40cfdf8a5ed4164e9f3b404ee9e3 /cpukit/rtems/inline/rtems/rtems/options.inl
parentrtems: Create status implementation header (diff)
downloadrtems-caab339b6c19f12103d1c0ddeaa55b449318d98c.tar.bz2
rtems: Create options implementation header
Move implementation specific parts of options.h and options.inl into new header file optionsimpl.h. The options.h contains now only the application visible API.
Diffstat (limited to '')
-rw-r--r--cpukit/rtems/include/rtems/rtems/optionsimpl.h (renamed from cpukit/rtems/inline/rtems/rtems/options.inl)30
1 files changed, 19 insertions, 11 deletions
diff --git a/cpukit/rtems/inline/rtems/rtems/options.inl b/cpukit/rtems/include/rtems/rtems/optionsimpl.h
index c3c0a5bf9e..e27462f82d 100644
--- a/cpukit/rtems/inline/rtems/rtems/options.inl
+++ b/cpukit/rtems/include/rtems/rtems/optionsimpl.h
@@ -1,8 +1,9 @@
/**
- * @file rtems/rtems/options.inl
+ * @file
*
- * This file contains the static inline implementation of the inlined
- * routines from the Options Handler.
+ * @ingroup ClassicOptionsImpl
+ *
+ * @brief Classic Options Implementation
*/
/* COPYRIGHT (c) 1989-2008.
@@ -13,18 +14,21 @@
* http://www.rtems.com/license/LICENSE.
*/
-#ifndef _RTEMS_RTEMS_OPTIONS_H
-# error "Never use <rtems/rtems/options.inl> directly; include <rtems/rtems/options.h> instead."
-#endif
+#ifndef _RTEMS_RTEMS_OPTIONSIMPL_H
+#define _RTEMS_RTEMS_OPTIONSIMPL_H
-#ifndef _RTEMS_RTEMS_OPTIONS_INL
-#define _RTEMS_RTEMS_OPTIONS_INL
+#include <rtems/rtems/options.h>
-#include <rtems/score/basedefs.h> /* RTEMS_INLINE_ROUTINE */
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
- * @addtogroup ClassicOptions
- * @{
+ * @defgroup ClassicOptionsImpl Classic Options Implementation
+ *
+ * @ingroup ClassicOptions
+ *
+ * @{
*/
/**
@@ -55,5 +59,9 @@ RTEMS_INLINE_ROUTINE bool _Options_Is_any (
/**@}*/
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */