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/sem.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/sem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/sem.h b/cpukit/rtems/include/rtems/rtems/sem.h index 3c628717c4..a5cb09f3fd 100644 --- a/cpukit/rtems/include/rtems/rtems/sem.h +++ b/cpukit/rtems/include/rtems/rtems/sem.h @@ -16,7 +16,7 @@ * + acquire a semaphore * + release a semaphore * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -29,6 +29,10 @@ #ifndef _RTEMS_RTEMS_SEM_H #define _RTEMS_RTEMS_SEM_H +#ifndef RTEMS_SEM_EXTERN +#define RTEMS_SEM_EXTERN extern +#endif + #ifdef __cplusplus extern "C" { #endif @@ -59,7 +63,7 @@ typedef struct { * this class of objects. */ -RTEMS_EXTERN Objects_Information _Semaphore_Information; +RTEMS_SEM_EXTERN Objects_Information _Semaphore_Information; /* * _Semaphore_Manager_initialization |