[rtems commit] score: Objects_Information::extract visibility

Sebastian Huber sebh at rtems.org
Mon Nov 18 13:51:00 UTC 2013


Module:    rtems
Branch:    master
Commit:    3a7628e86a78a2334513d44472d5983175e62944
Changeset: http://git.rtems.org/rtems/commit/?id=3a7628e86a78a2334513d44472d5983175e62944

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 15 15:38:52 2013 +0100

score: Objects_Information::extract visibility

This filed is only used if RTEMS_MULTIPROCESSING is defined.

---

 cpukit/score/include/rtems/score/objectimpl.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h
index c6c870f..afd29ea 100644
--- a/cpukit/score/include/rtems/score/objectimpl.h
+++ b/cpukit/score/include/rtems/score/objectimpl.h
@@ -156,9 +156,9 @@ typedef struct {
   #endif
   /** This is the maximum length of names. */
   uint16_t          name_length;
-  /** This is this object class' method called when extracting a thread. */
-  Objects_Thread_queue_Extract_callout extract;
   #if defined(RTEMS_MULTIPROCESSING)
+    /** This is this object class' method called when extracting a thread. */
+    Objects_Thread_queue_Extract_callout extract;
     /** This is this object class' pointer to the global name table */
     Chain_Control    *global_table;
   #endif




More information about the vc mailing list