summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/objectimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-30 08:36:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-30 08:45:58 +0200
commit9d9b6b56d1ecf0d8918556835fa0f83289140791 (patch)
tree65391cb550493bbac4cdb490b800807ee4d7734f /cpukit/score/include/rtems/score/objectimpl.h
parentscore: Fix set but not used warning (diff)
downloadrtems-9d9b6b56d1ecf0d8918556835fa0f83289140791.tar.bz2
score: Objects_Thread_queue_Extract_callout
Change parameters of the objects thread queue extract callout to avoid a cast and explicit use of the thread wait information.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/objectimpl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h
index 3adf3a795f..786910e2e6 100644
--- a/cpukit/score/include/rtems/score/objectimpl.h
+++ b/cpukit/score/include/rtems/score/objectimpl.h
@@ -127,7 +127,10 @@ typedef enum {
* is extracted from a remote thread queue (i.e. it's proxy must
* extracted from the remote queue).
*/
-typedef void ( *Objects_Thread_queue_Extract_callout )( void * );
+typedef void ( *Objects_Thread_queue_Extract_callout )(
+ Thread_Control *,
+ Objects_Id
+);
/**
* The following defines the structure for the information used to