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/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 ++++ 11 files changed, 44 insertions(+) (limited to 'cpukit/posix/inline/rtems') 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 -- cgit v1.2.3