From ef49476f5a2498022329b451deaff86891ffc499 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 19 Aug 2008 08:32:59 +0000 Subject: Add header guard to force indirect inclusion. --- cpukit/itron/inline/rtems/itron/eventflags.inl | 4 ++++ cpukit/itron/inline/rtems/itron/fmempool.inl | 4 ++++ cpukit/itron/inline/rtems/itron/intr.inl | 4 ++++ cpukit/itron/inline/rtems/itron/mbox.inl | 4 ++++ cpukit/itron/inline/rtems/itron/msgbuffer.inl | 4 ++++ cpukit/itron/inline/rtems/itron/network.inl | 4 ++++ cpukit/itron/inline/rtems/itron/port.inl | 4 ++++ cpukit/itron/inline/rtems/itron/semaphore.inl | 4 ++++ cpukit/itron/inline/rtems/itron/sysmgmt.inl | 4 ++++ cpukit/itron/inline/rtems/itron/task.inl | 4 ++++ cpukit/itron/inline/rtems/itron/time.inl | 4 ++++ cpukit/itron/inline/rtems/itron/vmempool.inl | 4 ++++ cpukit/posix/inline/rtems/posix/barrier.inl | 4 ++++ cpukit/posix/inline/rtems/posix/cond.inl | 4 ++++ cpukit/posix/inline/rtems/posix/key.inl | 4 ++++ cpukit/posix/inline/rtems/posix/mqueue.inl | 4 ++++ cpukit/posix/inline/rtems/posix/mutex.inl | 4 ++++ cpukit/posix/inline/rtems/posix/priority.inl | 4 ++++ cpukit/posix/inline/rtems/posix/pthread.inl | 4 ++++ cpukit/posix/inline/rtems/posix/rwlock.inl | 4 ++++ cpukit/posix/inline/rtems/posix/semaphore.inl | 4 ++++ cpukit/posix/inline/rtems/posix/spinlock.inl | 4 ++++ cpukit/posix/inline/rtems/posix/timer.inl | 4 ++++ cpukit/sapi/inline/rtems/chain.inl | 4 ++++ cpukit/score/inline/rtems/score/address.inl | 4 ++++ cpukit/score/inline/rtems/score/chain.inl | 4 ++++ cpukit/score/inline/rtems/score/corebarrier.inl | 4 ++++ cpukit/score/inline/rtems/score/coremsg.inl | 4 ++++ cpukit/score/inline/rtems/score/coremutex.inl | 4 ++++ cpukit/score/inline/rtems/score/corerwlock.inl | 4 ++++ cpukit/score/inline/rtems/score/coresem.inl | 4 ++++ cpukit/score/inline/rtems/score/corespinlock.inl | 4 ++++ cpukit/score/inline/rtems/score/heap.inl | 4 ++++ cpukit/score/inline/rtems/score/isr.inl | 4 ++++ cpukit/score/inline/rtems/score/mppkt.inl | 4 ++++ cpukit/score/inline/rtems/score/object.inl | 4 ++++ cpukit/score/inline/rtems/score/objectmp.inl | 4 ++++ cpukit/score/inline/rtems/score/priority.inl | 4 ++++ cpukit/score/inline/rtems/score/stack.inl | 4 ++++ cpukit/score/inline/rtems/score/states.inl | 4 ++++ cpukit/score/inline/rtems/score/sysstate.inl | 4 ++++ cpukit/score/inline/rtems/score/thread.inl | 4 ++++ cpukit/score/inline/rtems/score/threadmp.inl | 4 ++++ cpukit/score/inline/rtems/score/threadq.inl | 4 ++++ cpukit/score/inline/rtems/score/tod.inl | 4 ++++ cpukit/score/inline/rtems/score/tqdata.inl | 4 ++++ cpukit/score/inline/rtems/score/watchdog.inl | 4 ++++ cpukit/score/inline/rtems/score/wkspace.inl | 4 ++++ 48 files changed, 192 insertions(+) diff --git a/cpukit/itron/inline/rtems/itron/eventflags.inl b/cpukit/itron/inline/rtems/itron/eventflags.inl index c2b8fbe936..d4b666aa2d 100644 --- a/cpukit/itron/inline/rtems/itron/eventflags.inl +++ b/cpukit/itron/inline/rtems/itron/eventflags.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_EVENTFLAGS_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_EVENTFLAGS_INL #define _RTEMS_ITRON_EVENTFLAGS_INL diff --git a/cpukit/itron/inline/rtems/itron/fmempool.inl b/cpukit/itron/inline/rtems/itron/fmempool.inl index a76079ceec..5e68134834 100644 --- a/cpukit/itron/inline/rtems/itron/fmempool.inl +++ b/cpukit/itron/inline/rtems/itron/fmempool.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_FMEMPOOL_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_FMEMPOOL_INL #define _RTEMS_ITRON_FMEMPOOL_INL diff --git a/cpukit/itron/inline/rtems/itron/intr.inl b/cpukit/itron/inline/rtems/itron/intr.inl index 39063c3309..27bd5771d3 100644 --- a/cpukit/itron/inline/rtems/itron/intr.inl +++ b/cpukit/itron/inline/rtems/itron/intr.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_INTR_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_INTR_INL #define _RTEMS_ITRON_INTR_INL diff --git a/cpukit/itron/inline/rtems/itron/mbox.inl b/cpukit/itron/inline/rtems/itron/mbox.inl index a8ea081b62..d824a70de1 100644 --- a/cpukit/itron/inline/rtems/itron/mbox.inl +++ b/cpukit/itron/inline/rtems/itron/mbox.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_MBOX_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_MBOX_INL #define _RTEMS_ITRON_MBOX_INL diff --git a/cpukit/itron/inline/rtems/itron/msgbuffer.inl b/cpukit/itron/inline/rtems/itron/msgbuffer.inl index 4790fdd158..4723b2194f 100644 --- a/cpukit/itron/inline/rtems/itron/msgbuffer.inl +++ b/cpukit/itron/inline/rtems/itron/msgbuffer.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_MSGBUFFER_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_MSGBUFFER_INL #define _RTEMS_ITRON_MSGBUFFER_INL diff --git a/cpukit/itron/inline/rtems/itron/network.inl b/cpukit/itron/inline/rtems/itron/network.inl index 6c8095c176..44aff29553 100644 --- a/cpukit/itron/inline/rtems/itron/network.inl +++ b/cpukit/itron/inline/rtems/itron/network.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_NETWORK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_NETWORK_INL #define _RTEMS_ITRON_NETWORK_INL diff --git a/cpukit/itron/inline/rtems/itron/port.inl b/cpukit/itron/inline/rtems/itron/port.inl index 6b17230153..0afcc72566 100644 --- a/cpukit/itron/inline/rtems/itron/port.inl +++ b/cpukit/itron/inline/rtems/itron/port.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_PORT_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_PORT_INL #define _RTEMS_ITRON_PORT_INL diff --git a/cpukit/itron/inline/rtems/itron/semaphore.inl b/cpukit/itron/inline/rtems/itron/semaphore.inl index c57347f319..bb161c3818 100644 --- a/cpukit/itron/inline/rtems/itron/semaphore.inl +++ b/cpukit/itron/inline/rtems/itron/semaphore.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_SEMAPHORE_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_SEMAPHORE_INL #define _RTEMS_ITRON_SEMAPHORE_INL diff --git a/cpukit/itron/inline/rtems/itron/sysmgmt.inl b/cpukit/itron/inline/rtems/itron/sysmgmt.inl index 81b66c82bf..3972ac997a 100644 --- a/cpukit/itron/inline/rtems/itron/sysmgmt.inl +++ b/cpukit/itron/inline/rtems/itron/sysmgmt.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_SYSMGMT_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_SYSMGMT_INL #define _RTEMS_ITRON_SYSMGMT_INL diff --git a/cpukit/itron/inline/rtems/itron/task.inl b/cpukit/itron/inline/rtems/itron/task.inl index 02792e878b..c3345fd606 100644 --- a/cpukit/itron/inline/rtems/itron/task.inl +++ b/cpukit/itron/inline/rtems/itron/task.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_TASK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_TASK_INL #define _RTEMS_ITRON_TASK_INL diff --git a/cpukit/itron/inline/rtems/itron/time.inl b/cpukit/itron/inline/rtems/itron/time.inl index 39f195cf3d..27893b631a 100644 --- a/cpukit/itron/inline/rtems/itron/time.inl +++ b/cpukit/itron/inline/rtems/itron/time.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_TIME_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_TIME_INL #define _RTEMS_ITRON_TIME_INL diff --git a/cpukit/itron/inline/rtems/itron/vmempool.inl b/cpukit/itron/inline/rtems/itron/vmempool.inl index 4a4c1ccf3d..59710edcb4 100644 --- a/cpukit/itron/inline/rtems/itron/vmempool.inl +++ b/cpukit/itron/inline/rtems/itron/vmempool.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_ITRON_VMEMPOOL_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_ITRON_VMEMPOOL_INL #define _RTEMS_ITRON_VMEMPOOL_INL diff --git a/cpukit/posix/inline/rtems/posix/barrier.inl b/cpukit/posix/inline/rtems/posix/barrier.inl index 38cca3fb3f..8740ee595d 100644 --- a/cpukit/posix/inline/rtems/posix/barrier.inl +++ b/cpukit/posix/inline/rtems/posix/barrier.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_BARRIER_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_BARRIER_INL #define _RTEMS_POSIX_BARRIER_INL diff --git a/cpukit/posix/inline/rtems/posix/cond.inl b/cpukit/posix/inline/rtems/posix/cond.inl index bbc220a96f..3aded03789 100644 --- a/cpukit/posix/inline/rtems/posix/cond.inl +++ b/cpukit/posix/inline/rtems/posix/cond.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_COND_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_COND_INL #define _RTEMS_POSIX_COND_INL diff --git a/cpukit/posix/inline/rtems/posix/key.inl b/cpukit/posix/inline/rtems/posix/key.inl index b6a60207bb..e110293dc8 100644 --- a/cpukit/posix/inline/rtems/posix/key.inl +++ b/cpukit/posix/inline/rtems/posix/key.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_KEY_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_KEY_INL #define _RTEMS_POSIX_KEY_INL diff --git a/cpukit/posix/inline/rtems/posix/mqueue.inl b/cpukit/posix/inline/rtems/posix/mqueue.inl index 7bc0f4dbf6..2c3fd3f3c7 100644 --- a/cpukit/posix/inline/rtems/posix/mqueue.inl +++ b/cpukit/posix/inline/rtems/posix/mqueue.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_MQUEUE_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_MQUEUE_INL #define _RTEMS_POSIX_MQUEUE_INL diff --git a/cpukit/posix/inline/rtems/posix/mutex.inl b/cpukit/posix/inline/rtems/posix/mutex.inl index d425b3cafc..be27ff1bf9 100644 --- a/cpukit/posix/inline/rtems/posix/mutex.inl +++ b/cpukit/posix/inline/rtems/posix/mutex.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_MUTEX_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_MUTEX_INL #define _RTEMS_POSIX_MUTEX_INL diff --git a/cpukit/posix/inline/rtems/posix/priority.inl b/cpukit/posix/inline/rtems/posix/priority.inl index 00e672cccf..999727e469 100644 --- a/cpukit/posix/inline/rtems/posix/priority.inl +++ b/cpukit/posix/inline/rtems/posix/priority.inl @@ -13,6 +13,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_PRIORITY_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_PRIORITY_INL #define _RTEMS_POSIX_PRIORITY_INL diff --git a/cpukit/posix/inline/rtems/posix/pthread.inl b/cpukit/posix/inline/rtems/posix/pthread.inl index 4c7edaba42..b1b168c872 100644 --- a/cpukit/posix/inline/rtems/posix/pthread.inl +++ b/cpukit/posix/inline/rtems/posix/pthread.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_PTHREAD_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_PTHREAD_INL #define _RTEMS_POSIX_PTHREAD_INL diff --git a/cpukit/posix/inline/rtems/posix/rwlock.inl b/cpukit/posix/inline/rtems/posix/rwlock.inl index 79d13a66cf..f75d741710 100644 --- a/cpukit/posix/inline/rtems/posix/rwlock.inl +++ b/cpukit/posix/inline/rtems/posix/rwlock.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_RWLOCK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_RWLOCK_INL #define _RTEMS_POSIX_RWLOCK_INL diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl index 5c96d75e02..b4b847e211 100644 --- a/cpukit/posix/inline/rtems/posix/semaphore.inl +++ b/cpukit/posix/inline/rtems/posix/semaphore.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_SEMAPHORE_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_SEMAPHORE_INL #define _RTEMS_POSIX_SEMAPHORE_INL diff --git a/cpukit/posix/inline/rtems/posix/spinlock.inl b/cpukit/posix/inline/rtems/posix/spinlock.inl index 1f33a29759..1660fa2ac7 100644 --- a/cpukit/posix/inline/rtems/posix/spinlock.inl +++ b/cpukit/posix/inline/rtems/posix/spinlock.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_SPINLOCK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_SPINLOCK_INL #define _RTEMS_POSIX_SPINLOCK_INL diff --git a/cpukit/posix/inline/rtems/posix/timer.inl b/cpukit/posix/inline/rtems/posix/timer.inl index 3b07bdad27..9dd253fda7 100644 --- a/cpukit/posix/inline/rtems/posix/timer.inl +++ b/cpukit/posix/inline/rtems/posix/timer.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_POSIX_TIMER_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_POSIX_TIMER_INL #define _RTEMS_POSIX_TIMER_INL diff --git a/cpukit/sapi/inline/rtems/chain.inl b/cpukit/sapi/inline/rtems/chain.inl index 6885f3b1f3..b49454b259 100644 --- a/cpukit/sapi/inline/rtems/chain.inl +++ b/cpukit/sapi/inline/rtems/chain.inl @@ -27,6 +27,10 @@ * $Id$ */ +#ifndef _RTEMS_CHAIN_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_CHAIN_INL #define _RTEMS_CHAIN_INL diff --git a/cpukit/score/inline/rtems/score/address.inl b/cpukit/score/inline/rtems/score/address.inl index 19cf03699c..f1a0dd6cc7 100644 --- a/cpukit/score/inline/rtems/score/address.inl +++ b/cpukit/score/inline/rtems/score/address.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_ADDRESS_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_ADDRESS_INL #define _RTEMS_SCORE_ADDRESS_INL diff --git a/cpukit/score/inline/rtems/score/chain.inl b/cpukit/score/inline/rtems/score/chain.inl index e47242bf70..4ae8e8da4f 100644 --- a/cpukit/score/inline/rtems/score/chain.inl +++ b/cpukit/score/inline/rtems/score/chain.inl @@ -20,6 +20,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_CHAIN_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_CHAIN_INL #define _RTEMS_SCORE_CHAIN_INL diff --git a/cpukit/score/inline/rtems/score/corebarrier.inl b/cpukit/score/inline/rtems/score/corebarrier.inl index d8104e7179..db40ccc180 100644 --- a/cpukit/score/inline/rtems/score/corebarrier.inl +++ b/cpukit/score/inline/rtems/score/corebarrier.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_COREBARRIER_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_COREBARRIER_INL #define _RTEMS_SCORE_COREBARRIER_INL diff --git a/cpukit/score/inline/rtems/score/coremsg.inl b/cpukit/score/inline/rtems/score/coremsg.inl index aff4b5f06b..4387a27ad7 100644 --- a/cpukit/score/inline/rtems/score/coremsg.inl +++ b/cpukit/score/inline/rtems/score/coremsg.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_COREMSG_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_COREMSG_INL #define _RTEMS_SCORE_COREMSG_INL diff --git a/cpukit/score/inline/rtems/score/coremutex.inl b/cpukit/score/inline/rtems/score/coremutex.inl index ccfc411799..0e2db744f3 100644 --- a/cpukit/score/inline/rtems/score/coremutex.inl +++ b/cpukit/score/inline/rtems/score/coremutex.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_COREMUTEX_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_COREMUTEX_INL #define _RTEMS_SCORE_COREMUTEX_INL diff --git a/cpukit/score/inline/rtems/score/corerwlock.inl b/cpukit/score/inline/rtems/score/corerwlock.inl index 55d5fa71cb..1439f71545 100644 --- a/cpukit/score/inline/rtems/score/corerwlock.inl +++ b/cpukit/score/inline/rtems/score/corerwlock.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_CORERWLOCK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_CORERWLOCK_INL #define _RTEMS_SCORE_CORERWLOCK_INL diff --git a/cpukit/score/inline/rtems/score/coresem.inl b/cpukit/score/inline/rtems/score/coresem.inl index 72b297b489..4ea256777a 100644 --- a/cpukit/score/inline/rtems/score/coresem.inl +++ b/cpukit/score/inline/rtems/score/coresem.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_CORESEM_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_CORESEM_INL #define _RTEMS_SCORE_CORESEM_INL diff --git a/cpukit/score/inline/rtems/score/corespinlock.inl b/cpukit/score/inline/rtems/score/corespinlock.inl index 9f83deec49..2a86ecd484 100644 --- a/cpukit/score/inline/rtems/score/corespinlock.inl +++ b/cpukit/score/inline/rtems/score/corespinlock.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_CORESPINLOCK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_CORESPINLOCK_INL #define _RTEMS_SCORE_CORESPINLOCK_INL diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl index d34ce759ee..a32143a5cf 100644 --- a/cpukit/score/inline/rtems/score/heap.inl +++ b/cpukit/score/inline/rtems/score/heap.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_HEAP_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_HEAP_INL #define _RTEMS_SCORE_HEAP_INL diff --git a/cpukit/score/inline/rtems/score/isr.inl b/cpukit/score/inline/rtems/score/isr.inl index 4aff1b09e6..49fdea521a 100644 --- a/cpukit/score/inline/rtems/score/isr.inl +++ b/cpukit/score/inline/rtems/score/isr.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_ISR_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_ISR_INL #define _RTEMS_SCORE_ISR_INL diff --git a/cpukit/score/inline/rtems/score/mppkt.inl b/cpukit/score/inline/rtems/score/mppkt.inl index acb6d5d029..d1ab8c07e6 100644 --- a/cpukit/score/inline/rtems/score/mppkt.inl +++ b/cpukit/score/inline/rtems/score/mppkt.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_MPPKT_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_MPPKT_INL #define _RTEMS_SCORE_MPPKT_INL diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index de18a7d680..0e8feb02b2 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -17,6 +17,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_OBJECT_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_OBJECT_INL #define _RTEMS_SCORE_OBJECT_INL diff --git a/cpukit/score/inline/rtems/score/objectmp.inl b/cpukit/score/inline/rtems/score/objectmp.inl index ddcb4f4eb1..7ea4efd77c 100644 --- a/cpukit/score/inline/rtems/score/objectmp.inl +++ b/cpukit/score/inline/rtems/score/objectmp.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_OBJECTMP_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_OBJECTMP_INL #define _RTEMS_SCORE_OBJECTMP_INL diff --git a/cpukit/score/inline/rtems/score/priority.inl b/cpukit/score/inline/rtems/score/priority.inl index 1a776d3419..162d42d0e1 100644 --- a/cpukit/score/inline/rtems/score/priority.inl +++ b/cpukit/score/inline/rtems/score/priority.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_PRIORITY_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_PRIORITY_INL #define _RTEMS_SCORE_PRIORITY_INL diff --git a/cpukit/score/inline/rtems/score/stack.inl b/cpukit/score/inline/rtems/score/stack.inl index b7fb538747..8f0fc87147 100644 --- a/cpukit/score/inline/rtems/score/stack.inl +++ b/cpukit/score/inline/rtems/score/stack.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_STACK_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_STACK_INL #define _RTEMS_SCORE_STACK_INL diff --git a/cpukit/score/inline/rtems/score/states.inl b/cpukit/score/inline/rtems/score/states.inl index 7eaaa1a841..212f2eaf48 100644 --- a/cpukit/score/inline/rtems/score/states.inl +++ b/cpukit/score/inline/rtems/score/states.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_STATES_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_STATES_INL #define _RTEMS_SCORE_STATES_INL diff --git a/cpukit/score/inline/rtems/score/sysstate.inl b/cpukit/score/inline/rtems/score/sysstate.inl index 28e59c0416..072244f05a 100644 --- a/cpukit/score/inline/rtems/score/sysstate.inl +++ b/cpukit/score/inline/rtems/score/sysstate.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_SYSSTATE_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_SYSSTATE_INL #define _RTEMS_SCORE_SYSSTATE_INL diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl index ca692aa8a9..e6d4b4800e 100644 --- a/cpukit/score/inline/rtems/score/thread.inl +++ b/cpukit/score/inline/rtems/score/thread.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_THREAD_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_THREAD_INL #define _RTEMS_SCORE_THREAD_INL diff --git a/cpukit/score/inline/rtems/score/threadmp.inl b/cpukit/score/inline/rtems/score/threadmp.inl index 582384fcac..6a58553282 100644 --- a/cpukit/score/inline/rtems/score/threadmp.inl +++ b/cpukit/score/inline/rtems/score/threadmp.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_THREADMP_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_THREADMP_INL #define _RTEMS_SCORE_THREADMP_INL diff --git a/cpukit/score/inline/rtems/score/threadq.inl b/cpukit/score/inline/rtems/score/threadq.inl index 2e6f1d96bd..b8bc99bf20 100644 --- a/cpukit/score/inline/rtems/score/threadq.inl +++ b/cpukit/score/inline/rtems/score/threadq.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_THREADQ_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_THREADQ_INL #define _RTEMS_SCORE_THREADQ_INL diff --git a/cpukit/score/inline/rtems/score/tod.inl b/cpukit/score/inline/rtems/score/tod.inl index eb05b8a46d..c7e0130859 100644 --- a/cpukit/score/inline/rtems/score/tod.inl +++ b/cpukit/score/inline/rtems/score/tod.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_TOD_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_TOD_INL #define _RTEMS_SCORE_TOD_INL diff --git a/cpukit/score/inline/rtems/score/tqdata.inl b/cpukit/score/inline/rtems/score/tqdata.inl index b063998f8e..617eb69375 100644 --- a/cpukit/score/inline/rtems/score/tqdata.inl +++ b/cpukit/score/inline/rtems/score/tqdata.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_TQDATA_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_TQDATA_INL #define _RTEMS_SCORE_TQDATA_INL diff --git a/cpukit/score/inline/rtems/score/watchdog.inl b/cpukit/score/inline/rtems/score/watchdog.inl index 436d902c4b..966bf7338c 100644 --- a/cpukit/score/inline/rtems/score/watchdog.inl +++ b/cpukit/score/inline/rtems/score/watchdog.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_WATCHDOG_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_WATCHDOG_INL #define _RTEMS_SCORE_WATCHDOG_INL diff --git a/cpukit/score/inline/rtems/score/wkspace.inl b/cpukit/score/inline/rtems/score/wkspace.inl index ff64baec7b..4342f2d20f 100644 --- a/cpukit/score/inline/rtems/score/wkspace.inl +++ b/cpukit/score/inline/rtems/score/wkspace.inl @@ -16,6 +16,10 @@ * $Id$ */ +#ifndef _RTEMS_SCORE_WKSPACE_H +# error "Never use directly; include instead." +#endif + #ifndef _RTEMS_SCORE_WKSPACE_INL #define _RTEMS_SCORE_WKSPACE_INL -- cgit v1.2.3