summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/ringbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/include/ringbuf.h')
-rw-r--r--cpukit/libcsupport/include/ringbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/include/ringbuf.h b/cpukit/libcsupport/include/ringbuf.h
index 8c80aaf9c8..8639ff4fb8 100644
--- a/cpukit/libcsupport/include/ringbuf.h
+++ b/cpukit/libcsupport/include/ringbuf.h
@@ -32,7 +32,7 @@ typedef struct {
#define Ring_buffer_Add_character( _buffer, _ch ) \
do { \
- rtems_unsigned32 isrlevel; \
+ uint32_t isrlevel; \
\
rtems_interrupt_disable( isrlevel ); \
(_buffer)->tail = ((_buffer)->tail+1) % RINGBUF_QUEUE_LENGTH; \
@@ -42,7 +42,7 @@ typedef struct {
#define Ring_buffer_Remove_character( _buffer, _ch ) \
do { \
- rtems_unsigned32 isrlevel; \
+ uint32_t isrlevel; \
\
rtems_interrupt_disable( isrlevel ); \
(_buffer)->head = ((_buffer)->head+1) % RINGBUF_QUEUE_LENGTH; \