summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/options.inl
diff options
context:
space:
mode:
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 */