From 4d24fccb93aa44cf208076cbe96535a9e9dd0f83 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 19 Aug 2008 12:09:40 +0000 Subject: Add header guard to force indirect inclusion. --- cpukit/rtems/inline/rtems/rtems/asr.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/attr.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/barrier.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/dpmem.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/event.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/eventset.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/message.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/modes.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/options.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/part.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/ratemon.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/region.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/sem.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/status.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/support.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/tasks.inl | 4 ++++ cpukit/rtems/inline/rtems/rtems/timer.inl | 4 ++++ 17 files changed, 68 insertions(+) (limited to 'cpukit/rtems/inline') diff --git a/cpukit/rtems/inline/rtems/rtems/asr.inl b/cpukit/rtems/inline/rtems/rtems/asr.inl index b6f246433f..918a7d87c1 100644 --- a/cpukit/rtems/inline/rtems/rtems/asr.inl +++ b/cpukit/rtems/inline/rtems/rtems/asr.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_ASR_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_ASR_INL #define _RTEMS_RTEMS_ASR_INL diff --git a/cpukit/rtems/inline/rtems/rtems/attr.inl b/cpukit/rtems/inline/rtems/rtems/attr.inl index c7e68fccbd..d66a1920ed 100644 --- a/cpukit/rtems/inline/rtems/rtems/attr.inl +++ b/cpukit/rtems/inline/rtems/rtems/attr.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_ATTR_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_ATTR_INL #define _RTEMS_RTEMS_ATTR_INL diff --git a/cpukit/rtems/inline/rtems/rtems/barrier.inl b/cpukit/rtems/inline/rtems/rtems/barrier.inl index 0a01a15a6f..bc9d4d79dc 100644 --- a/cpukit/rtems/inline/rtems/rtems/barrier.inl +++ b/cpukit/rtems/inline/rtems/rtems/barrier.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_BARRIER_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_BARRIER_INL #define _RTEMS_RTEMS_BARRIER_INL diff --git a/cpukit/rtems/inline/rtems/rtems/dpmem.inl b/cpukit/rtems/inline/rtems/rtems/dpmem.inl index 0aff111b5d..5528878f18 100644 --- a/cpukit/rtems/inline/rtems/rtems/dpmem.inl +++ b/cpukit/rtems/inline/rtems/rtems/dpmem.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_DPMEM_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_DPMEM_INL #define _RTEMS_RTEMS_DPMEM_INL diff --git a/cpukit/rtems/inline/rtems/rtems/event.inl b/cpukit/rtems/inline/rtems/rtems/event.inl index 703f6bbda5..8ea83e2176 100644 --- a/cpukit/rtems/inline/rtems/rtems/event.inl +++ b/cpukit/rtems/inline/rtems/rtems/event.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_EVENT_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_EVENT_INL #define _RTEMS_RTEMS_EVENT_INL diff --git a/cpukit/rtems/inline/rtems/rtems/eventset.inl b/cpukit/rtems/inline/rtems/rtems/eventset.inl index 917df94f89..c3ff7c4241 100644 --- a/cpukit/rtems/inline/rtems/rtems/eventset.inl +++ b/cpukit/rtems/inline/rtems/rtems/eventset.inl @@ -14,6 +14,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_EVENTSET_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_EVENTSET_INL #define _RTEMS_RTEMS_EVENTSET_INL diff --git a/cpukit/rtems/inline/rtems/rtems/message.inl b/cpukit/rtems/inline/rtems/rtems/message.inl index 6047f42f62..1155658136 100644 --- a/cpukit/rtems/inline/rtems/rtems/message.inl +++ b/cpukit/rtems/inline/rtems/rtems/message.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_MESSAGE_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_MESSAGE_INL #define _RTEMS_RTEMS_MESSAGE_INL diff --git a/cpukit/rtems/inline/rtems/rtems/modes.inl b/cpukit/rtems/inline/rtems/rtems/modes.inl index 4d97337046..76802a4289 100644 --- a/cpukit/rtems/inline/rtems/rtems/modes.inl +++ b/cpukit/rtems/inline/rtems/rtems/modes.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_MODES_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_MODES_INL #define _RTEMS_RTEMS_MODES_INL diff --git a/cpukit/rtems/inline/rtems/rtems/options.inl b/cpukit/rtems/inline/rtems/rtems/options.inl index c48fdf2b51..d079a50a44 100644 --- a/cpukit/rtems/inline/rtems/rtems/options.inl +++ b/cpukit/rtems/inline/rtems/rtems/options.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_OPTIONS_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_OPTIONS_INL #define _RTEMS_RTEMS_OPTIONS_INL diff --git a/cpukit/rtems/inline/rtems/rtems/part.inl b/cpukit/rtems/inline/rtems/rtems/part.inl index c33845d7a1..060dd5850d 100644 --- a/cpukit/rtems/inline/rtems/rtems/part.inl +++ b/cpukit/rtems/inline/rtems/rtems/part.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_PART_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_PART_INL #define _RTEMS_RTEMS_PART_INL diff --git a/cpukit/rtems/inline/rtems/rtems/ratemon.inl b/cpukit/rtems/inline/rtems/rtems/ratemon.inl index a82fa5811a..3fcb845da1 100644 --- a/cpukit/rtems/inline/rtems/rtems/ratemon.inl +++ b/cpukit/rtems/inline/rtems/rtems/ratemon.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_RATEMON_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_RATEMON_INL #define _RTEMS_RTEMS_RATEMON_INL diff --git a/cpukit/rtems/inline/rtems/rtems/region.inl b/cpukit/rtems/inline/rtems/rtems/region.inl index 24463a87fe..b5f612ef51 100644 --- a/cpukit/rtems/inline/rtems/rtems/region.inl +++ b/cpukit/rtems/inline/rtems/rtems/region.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_REGION_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_REGION_INL #define _RTEMS_RTEMS_REGION_INL diff --git a/cpukit/rtems/inline/rtems/rtems/sem.inl b/cpukit/rtems/inline/rtems/rtems/sem.inl index 566c823f81..43523eba03 100644 --- a/cpukit/rtems/inline/rtems/rtems/sem.inl +++ b/cpukit/rtems/inline/rtems/rtems/sem.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_SEM_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_SEM_INL #define _RTEMS_RTEMS_SEM_INL diff --git a/cpukit/rtems/inline/rtems/rtems/status.inl b/cpukit/rtems/inline/rtems/rtems/status.inl index f530401be5..042f426de3 100644 --- a/cpukit/rtems/inline/rtems/rtems/status.inl +++ b/cpukit/rtems/inline/rtems/rtems/status.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_STATUS_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_STATUS_INL #define _RTEMS_RTEMS_STATUS_INL diff --git a/cpukit/rtems/inline/rtems/rtems/support.inl b/cpukit/rtems/inline/rtems/rtems/support.inl index a1aae53eea..dadcbc7baa 100644 --- a/cpukit/rtems/inline/rtems/rtems/support.inl +++ b/cpukit/rtems/inline/rtems/rtems/support.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_SUPPORT_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_SUPPORT_INL #define _RTEMS_RTEMS_SUPPORT_INL diff --git a/cpukit/rtems/inline/rtems/rtems/tasks.inl b/cpukit/rtems/inline/rtems/rtems/tasks.inl index 4b705c2e24..ca63aa83f5 100644 --- a/cpukit/rtems/inline/rtems/rtems/tasks.inl +++ b/cpukit/rtems/inline/rtems/rtems/tasks.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_TASKS_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_TASKS_INL #define _RTEMS_RTEMS_TASKS_INL diff --git a/cpukit/rtems/inline/rtems/rtems/timer.inl b/cpukit/rtems/inline/rtems/rtems/timer.inl index 43725129e0..30d8407d5d 100644 --- a/cpukit/rtems/inline/rtems/rtems/timer.inl +++ b/cpukit/rtems/inline/rtems/rtems/timer.inl @@ -15,6 +15,10 @@ * $Id$ */ +#ifndef _RTEMS_RTEMS_TIMER_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_RTEMS_TIMER_INL #define _RTEMS_RTEMS_TIMER_INL -- cgit v1.2.3