diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-19 12:09:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-19 12:09:40 +0000 |
commit | 4d24fccb93aa44cf208076cbe96535a9e9dd0f83 (patch) | |
tree | c3e5631e35504a730ab244da29b0a7719996f82b /cpukit/rtems/inline/rtems/rtems/modes.inl | |
parent | 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4d24fccb93aa44cf208076cbe96535a9e9dd0f83.tar.bz2 |
Add header guard to force indirect inclusion.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/inline/rtems/rtems/modes.inl | 4 |
1 files changed, 4 insertions, 0 deletions
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 <rtems/rtems/modes.inl> directly; include <rtems/rtems/modes.h> instead." +#endif + #ifndef _RTEMS_RTEMS_MODES_INL #define _RTEMS_RTEMS_MODES_INL |