summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-17 13:52:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-18 09:58:56 +0200
commit2bbea657ae366f6b73dd6ca5db98af7ea3c29759 (patch)
treefcbee133028ad2e37bb6c15cdfc1b9f7eb25fdf4 /testsuites/sptests/spintrcritical01
parentlibtests/gxx01: Avoid random memory read/write (diff)
downloadrtems-2bbea657ae366f6b73dd6ca5db98af7ea3c29759.tar.bz2
rtems: Create semaphore implementation header
Move implementation specific parts of sem.h and sem.inl into new header file semimpl.h. The sem.h contains now only the application visible API.
Diffstat (limited to 'testsuites/sptests/spintrcritical01')
-rw-r--r--testsuites/sptests/spintrcritical01/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/sptests/spintrcritical01/init.c b/testsuites/sptests/spintrcritical01/init.c
index 7859a14a0e..9e1bbaa05a 100644
--- a/testsuites/sptests/spintrcritical01/init.c
+++ b/testsuites/sptests/spintrcritical01/init.c
@@ -11,10 +11,11 @@
#include "config.h"
#endif
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1
#include <tmacros.h>
#include <intrcritical.h>
+#include <rtems/rtems/semimpl.h>
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_timer_service_routine test_release_from_isr(rtems_id timer, void *arg);