diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-23 10:33:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-28 06:19:52 +0200 |
commit | 69b4fe592fb26f3421add3c564677d78022bcf5a (patch) | |
tree | c77f799fdd0fc92795b98820009896c35b3dde97 /cpukit/score/src/coremsgsubmit.c | |
parent | score: Improve _CORE_message_queue_Initialize() (diff) | |
download | rtems-69b4fe592fb26f3421add3c564677d78022bcf5a.tar.bz2 |
score: Simplify CORE_message_queue_Buffer
Merge CORE_message_queue_Buffer structure into
CORE_message_queue_Buffer_control.
Use a zero-length array for the actual message buffer. This reduces the
structure size on all targets.
Update #4007.
Diffstat (limited to 'cpukit/score/src/coremsgsubmit.c')
-rw-r--r-- | cpukit/score/src/coremsgsubmit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c index dd01f4aa7a..77fe30c0dd 100644 --- a/cpukit/score/src/coremsgsubmit.c +++ b/cpukit/score/src/coremsgsubmit.c @@ -36,8 +36,8 @@ Status_Control _CORE_message_queue_Submit( Thread_queue_Context *queue_context ) { - CORE_message_queue_Buffer_control *the_message; - Thread_Control *the_thread; + CORE_message_queue_Buffer *the_message; + Thread_Control *the_thread; if ( size > the_message_queue->maximum_message_size ) { _CORE_message_queue_Release( the_message_queue, queue_context ); |