summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/corerwlock.inl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/score/inline/rtems/score/corerwlock.inl4
1 files changed, 4 insertions, 0 deletions
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