diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-21 23:19:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-05-21 23:19:36 +0000 |
commit | 6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc (patch) | |
tree | 75216d7fabbbe051420f24832c803ac74418ee7d /cpukit/rtems/include/rtems/rtems/message.h | |
parent | 2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc.tar.bz2 |
Split Classic API data instantiation into individual files. This reduces the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/message.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/message.h b/cpukit/rtems/include/rtems/rtems/message.h index cef04eff8c..9425ddf3af 100644 --- a/cpukit/rtems/include/rtems/rtems/message.h +++ b/cpukit/rtems/include/rtems/rtems/message.h @@ -18,8 +18,7 @@ * + receive message from a queue * + flush all messages on a queue * - * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -32,11 +31,16 @@ #ifndef _RTEMS_RTEMS_MESSAGE_H #define _RTEMS_RTEMS_MESSAGE_H +#ifndef RTEMS_MESSAGE_EXTERN +#define RTEMS_MESSAGE_EXTERN extern +#endif + #ifdef __cplusplus extern "C" { #endif #include <rtems/rtems/types.h> +#include <rtems/rtems/status.h> #include <rtems/score/chain.h> #include <rtems/score/object.h> #include <rtems/rtems/attr.h> @@ -69,7 +73,7 @@ typedef struct { * manage this class of objects. */ -RTEMS_EXTERN Objects_Information _Message_queue_Information; +RTEMS_MESSAGE_EXTERN Objects_Information _Message_queue_Information; /* * _Message_queue_Manager_initialization |