summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/basedefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-06-24 17:50:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-06-24 17:50:31 +0000
commit27a1a6a19b3feb3b04c16a82134a6aec1cef93d7 (patch)
tree44d94495f675b98c38d03af52d33ecc5088c8c4e /cpukit/score/include/rtems/score/basedefs.h
parent2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-27a1a6a19b3feb3b04c16a82134a6aec1cef93d7.tar.bz2
2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* Doxyfile.in, score/include/rtems/score/apimutex.h, score/include/rtems/score/basedefs.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/object.h: Fix some Doxygen warnings.
Diffstat (limited to 'cpukit/score/include/rtems/score/basedefs.h')
-rw-r--r--cpukit/score/include/rtems/score/basedefs.h42
1 files changed, 24 insertions, 18 deletions
diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h
index b956806313..91774e4fec 100644
--- a/cpukit/score/include/rtems/score/basedefs.h
+++ b/cpukit/score/include/rtems/score/basedefs.h
@@ -31,10 +31,16 @@
#endif
#ifndef TRUE
+ /**
+ * This ensures that RTEMS has TRUE defined in all situations.
+ */
#define TRUE 1
#endif
#ifndef FALSE
+ /**
+ * This ensures that RTEMS has FALSE defined in all situations.
+ */
#define FALSE 0
#endif
@@ -49,11 +55,11 @@
* referenced as "external" in every other file.
*/
#ifdef SCORE_INIT
-#undef SCORE_EXTERN
-#define SCORE_EXTERN
+ #undef SCORE_EXTERN
+ #define SCORE_EXTERN
#else
-#undef SCORE_EXTERN
-#define SCORE_EXTERN extern
+ #undef SCORE_EXTERN
+ #define SCORE_EXTERN extern
#endif
/**
@@ -63,11 +69,11 @@
* referenced as "external" in every other file.
*/
#ifdef SAPI_INIT
-#undef SAPI_EXTERN
-#define SAPI_EXTERN
+ #undef SAPI_EXTERN
+ #define SAPI_EXTERN
#else
-#undef SAPI_EXTERN
-#define SAPI_EXTERN extern
+ #undef SAPI_EXTERN
+ #define SAPI_EXTERN extern
#endif
/**
@@ -77,11 +83,11 @@
* referenced as "external" in every other file.
*/
#ifdef RTEMS_API_INIT
-#undef RTEMS_EXTERN
-#define RTEMS_EXTERN
+ #undef RTEMS_EXTERN
+ #define RTEMS_EXTERN
#else
-#undef RTEMS_EXTERN
-#define RTEMS_EXTERN extern
+ #undef RTEMS_EXTERN
+ #define RTEMS_EXTERN extern
#endif
/**
@@ -91,11 +97,11 @@
* referenced as "external" in every other file.
*/
#ifdef POSIX_API_INIT
-#undef POSIX_EXTERN
-#define POSIX_EXTERN
+ #undef POSIX_EXTERN
+ #define POSIX_EXTERN
#else
-#undef POSIX_EXTERN
-#define POSIX_EXTERN extern
+ #undef POSIX_EXTERN
+ #define POSIX_EXTERN extern
#endif
/**
@@ -105,9 +111,9 @@
* type checking with no cost in code size or execution speed.
*/
#ifdef __GNUC__
-# define RTEMS_INLINE_ROUTINE static __inline__
+ #define RTEMS_INLINE_ROUTINE static __inline__
#else
-# define RTEMS_INLINE_ROUTINE static inline
+ #define RTEMS_INLINE_ROUTINE static inline
#endif
/**