From 8f9e9bdc0724b26ec9d9caadd8c82ab7d1b17357 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Apr 1996 21:10:27 +0000 Subject: event.h: _Event_Manager_initialization no longer a static inline support.h: updated to use RTEMS_APPLICATION macro --- c/src/exec/rtems/headers/event.h | 10 ++++++++++ c/src/exec/rtems/headers/support.h | 2 ++ c/src/exec/rtems/include/rtems/rtems/event.h | 10 ++++++++++ c/src/exec/rtems/include/rtems/rtems/support.h | 2 ++ cpukit/rtems/include/rtems/rtems/event.h | 10 ++++++++++ cpukit/rtems/include/rtems/rtems/support.h | 2 ++ 6 files changed, 36 insertions(+) diff --git a/c/src/exec/rtems/headers/event.h b/c/src/exec/rtems/headers/event.h index 0add026e5c..4cd3b1cbea 100644 --- a/c/src/exec/rtems/headers/event.h +++ b/c/src/exec/rtems/headers/event.h @@ -54,6 +54,16 @@ typedef enum { EVENT_SYNC_SATISFIED } Event_Sync_states; +/* + * Event_Manager_initialization + * + * DESCRIPTION: + * + * This routine performs the initialization necessary for this manager. + */ + +void _Event_Manager_initialization( void ); + /* * rtems_event_send * diff --git a/c/src/exec/rtems/headers/support.h b/c/src/exec/rtems/headers/support.h index f4b26d6a61..3305ffd4d3 100644 --- a/c/src/exec/rtems/headers/support.h +++ b/c/src/exec/rtems/headers/support.h @@ -85,7 +85,9 @@ extern "C" { #define RTEMS_MILLISECONDS_TO_TICKS(_ms) \ TOD_MILLISECONDS_TO_TICKS(_ms) +#ifndef __RTEMS_APPLICATION__ #include +#endif #ifdef __cplusplus } diff --git a/c/src/exec/rtems/include/rtems/rtems/event.h b/c/src/exec/rtems/include/rtems/rtems/event.h index 0add026e5c..4cd3b1cbea 100644 --- a/c/src/exec/rtems/include/rtems/rtems/event.h +++ b/c/src/exec/rtems/include/rtems/rtems/event.h @@ -54,6 +54,16 @@ typedef enum { EVENT_SYNC_SATISFIED } Event_Sync_states; +/* + * Event_Manager_initialization + * + * DESCRIPTION: + * + * This routine performs the initialization necessary for this manager. + */ + +void _Event_Manager_initialization( void ); + /* * rtems_event_send * diff --git a/c/src/exec/rtems/include/rtems/rtems/support.h b/c/src/exec/rtems/include/rtems/rtems/support.h index f4b26d6a61..3305ffd4d3 100644 --- a/c/src/exec/rtems/include/rtems/rtems/support.h +++ b/c/src/exec/rtems/include/rtems/rtems/support.h @@ -85,7 +85,9 @@ extern "C" { #define RTEMS_MILLISECONDS_TO_TICKS(_ms) \ TOD_MILLISECONDS_TO_TICKS(_ms) +#ifndef __RTEMS_APPLICATION__ #include +#endif #ifdef __cplusplus } diff --git a/cpukit/rtems/include/rtems/rtems/event.h b/cpukit/rtems/include/rtems/rtems/event.h index 0add026e5c..4cd3b1cbea 100644 --- a/cpukit/rtems/include/rtems/rtems/event.h +++ b/cpukit/rtems/include/rtems/rtems/event.h @@ -54,6 +54,16 @@ typedef enum { EVENT_SYNC_SATISFIED } Event_Sync_states; +/* + * Event_Manager_initialization + * + * DESCRIPTION: + * + * This routine performs the initialization necessary for this manager. + */ + +void _Event_Manager_initialization( void ); + /* * rtems_event_send * diff --git a/cpukit/rtems/include/rtems/rtems/support.h b/cpukit/rtems/include/rtems/rtems/support.h index f4b26d6a61..3305ffd4d3 100644 --- a/cpukit/rtems/include/rtems/rtems/support.h +++ b/cpukit/rtems/include/rtems/rtems/support.h @@ -85,7 +85,9 @@ extern "C" { #define RTEMS_MILLISECONDS_TO_TICKS(_ms) \ TOD_MILLISECONDS_TO_TICKS(_ms) +#ifndef __RTEMS_APPLICATION__ #include +#endif #ifdef __cplusplus } -- cgit v1.2.3