summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/inline/rtems
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 /cpukit/posix/inline/rtems
parent2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ef49476f5a2498022329b451deaff86891ffc499.tar.bz2
Add header guard to force indirect inclusion.
Diffstat (limited to 'cpukit/posix/inline/rtems')
-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
11 files changed, 44 insertions, 0 deletions
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