summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-19 08:32:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-19 08:32:59 +0000
commitef49476f5a2498022329b451deaff86891ffc499 (patch)
treec23369946444549b3e2687c6e8bb82fd58c9b902
parent2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ef49476f5a2498022329b451deaff86891ffc499.tar.bz2
Add header guard to force indirect inclusion.
Diffstat (limited to '')
-rw-r--r--cpukit/itron/inline/rtems/itron/eventflags.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/fmempool.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/intr.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/mbox.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/msgbuffer.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/network.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/port.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/semaphore.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/sysmgmt.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/task.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/time.inl4
-rw-r--r--cpukit/itron/inline/rtems/itron/vmempool.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/barrier.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/cond.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/key.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/mqueue.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/mutex.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/priority.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/pthread.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/rwlock.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/semaphore.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/spinlock.inl4
-rw-r--r--cpukit/posix/inline/rtems/posix/timer.inl4
-rw-r--r--cpukit/sapi/inline/rtems/chain.inl4
-rw-r--r--cpukit/score/inline/rtems/score/address.inl4
-rw-r--r--cpukit/score/inline/rtems/score/chain.inl4
-rw-r--r--cpukit/score/inline/rtems/score/corebarrier.inl4
-rw-r--r--cpukit/score/inline/rtems/score/coremsg.inl4
-rw-r--r--cpukit/score/inline/rtems/score/coremutex.inl4
-rw-r--r--cpukit/score/inline/rtems/score/corerwlock.inl4
-rw-r--r--cpukit/score/inline/rtems/score/coresem.inl4
-rw-r--r--cpukit/score/inline/rtems/score/corespinlock.inl4
-rw-r--r--cpukit/score/inline/rtems/score/heap.inl4
-rw-r--r--cpukit/score/inline/rtems/score/isr.inl4
-rw-r--r--cpukit/score/inline/rtems/score/mppkt.inl4
-rw-r--r--cpukit/score/inline/rtems/score/object.inl4
-rw-r--r--cpukit/score/inline/rtems/score/objectmp.inl4
-rw-r--r--cpukit/score/inline/rtems/score/priority.inl4
-rw-r--r--cpukit/score/inline/rtems/score/stack.inl4
-rw-r--r--cpukit/score/inline/rtems/score/states.inl4
-rw-r--r--cpukit/score/inline/rtems/score/sysstate.inl4
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl4
-rw-r--r--cpukit/score/inline/rtems/score/threadmp.inl4
-rw-r--r--cpukit/score/inline/rtems/score/threadq.inl4
-rw-r--r--cpukit/score/inline/rtems/score/tod.inl4
-rw-r--r--cpukit/score/inline/rtems/score/tqdata.inl4
-rw-r--r--cpukit/score/inline/rtems/score/watchdog.inl4
-rw-r--r--cpukit/score/inline/rtems/score/wkspace.inl4
48 files changed, 192 insertions, 0 deletions
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 <rtems/itron/eventflags.inl> directly; include <rtems/itron/eventflags.h> 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 <rtems/itron/fmempool.inl> directly; include <rtems/itron/fmempool.h> 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 <rtems/itron/intr.inl> directly; include <rtems/itron/intr.h> 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 <rtems/itron/mbox.inl> directly; include <rtems/itron/mbox.h> 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 <rtems/itron/msgbuffer.inl> directly; include <rtems/itron/msgbuffer.h> 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 <rtems/itron/network.inl> directly; include <rtems/itron/network.h> 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 <rtems/itron/port.inl> directly; include <rtems/itron/port.h> 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 <rtems/itron/semaphore.inl> directly; include <rtems/itron/semaphore.h> 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 <rtems/itron/sysmgmt.inl> directly; include <rtems/itron/sysmgmt.h> 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 <rtems/itron/task.inl> directly; include <rtems/itron/task.h> 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 <rtems/itron/time.inl> directly; include <rtems/itron/time.h> 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 <rtems/itron/vmempool.inl> directly; include <rtems/itron/vmempool.h> 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 <rtems/posix/barrier.inl> directly; include <rtems/posix/barrier.h> 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 <rtems/posix/cond.inl> directly; include <rtems/posix/cond.h> 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 <rtems/posix/key.inl> directly; include <rtems/posix/key.h> 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 <rtems/posix/mqueue.inl> directly; include <rtems/posix/mqueue.h> 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 <rtems/posix/mutex.inl> directly; include <rtems/posix/mutex.h> 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 <rtems/posix/priority.inl> directly; include <rtems/posix/priority.h> 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 <rtems/posix/pthread.inl> directly; include <rtems/posix/pthread.h> 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 <rtems/posix/rwlock.inl> directly; include <rtems/posix/rwlock.h> 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 <rtems/posix/semaphore.inl> directly; include <rtems/posix/semaphore.h> 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 <rtems/posix/spinlock.inl> directly; include <rtems/posix/spinlock.h> 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 <rtems/posix/timer.inl> directly; include <rtems/posix/timer.h> 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 <rtems/chain.inl> directly; include <rtems/chain.h> 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 <rtems/score/address.inl> directly; include <rtems/score/address.h> 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 <rtems/score/chain.inl> directly; include <rtems/score/chain.h> 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 <rtems/score/corebarrier.inl> directly; include <rtems/score/corebarrier.h> 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 <rtems/score/coremsg.inl> directly; include <rtems/score/coremsg.h> 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 <rtems/score/coremutex.inl> directly; include <rtems/score/coremutex.h> 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 <rtems/score/corerwlock.inl> directly; include <rtems/score/corerwlock.h> 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 <rtems/score/coresem.inl> directly; include <rtems/score/coresem.h> 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 <rtems/score/corespinlock.inl> directly; include <rtems/score/corespinlock.h> 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 <rtems/score/heap.inl> directly; include <rtems/score/heap.h> 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 <rtems/score/isr.inl> directly; include <rtems/score/isr.h> 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 <rtems/score/mppkt.inl> directly; include <rtems/score/mppkt.h> 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 <rtems/score/object.inl> directly; include <rtems/score/object.h> 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 <rtems/score/objectmp.inl> directly; include <rtems/score/objectmp.h> 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 <rtems/score/priority.inl> directly; include <rtems/score/priority.h> 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 <rtems/score/stack.inl> directly; include <rtems/score/stack.h> 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 <rtems/score/states.inl> directly; include <rtems/score/states.h> 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 <rtems/score/sysstate.inl> directly; include <rtems/score/sysstate.h> 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 <rtems/score/thread.inl> directly; include <rtems/score/thread.h> 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 <rtems/score/threadmp.inl> directly; include <rtems/score/threadmp.h> 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 <rtems/score/threadq.inl> directly; include <rtems/score/threadq.h> 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 <rtems/score/tod.inl> directly; include <rtems/score/tod.h> 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 <rtems/score/tqdata.inl> directly; include <rtems/score/tqdata.h> 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 <rtems/score/watchdog.inl> directly; include <rtems/score/watchdog.h> 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 <rtems/score/wkspace.inl> directly; include <rtems/score/wkspace.h> instead."
+#endif
+
#ifndef _RTEMS_SCORE_WKSPACE_INL
#define _RTEMS_SCORE_WKSPACE_INL