diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-18 06:05:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-18 06:05:35 +0000 |
commit | 50f32b11653429546d7b8ff2693b5232b885e201 (patch) | |
tree | a8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/libcsupport/include/ringbuf.h | |
parent | Remove stray white spaces. (diff) | |
download | rtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/include/ringbuf.h')
-rw-r--r-- | cpukit/libcsupport/include/ringbuf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libcsupport/include/ringbuf.h b/cpukit/libcsupport/include/ringbuf.h index 8639ff4fb8..3895b82274 100644 --- a/cpukit/libcsupport/include/ringbuf.h +++ b/cpukit/libcsupport/include/ringbuf.h @@ -1,5 +1,5 @@ /* - * ringbuf.h + * ringbuf.h * * This file provides simple ring buffer functionality. * @@ -22,8 +22,8 @@ typedef struct { #define Ring_buffer_Initialize( _buffer ) \ do { \ (_buffer)->head = (_buffer)->tail = 0; \ - } while ( 0 ) - + } while ( 0 ) + #define Ring_buffer_Is_empty( _buffer ) \ ( (_buffer)->head == (_buffer)->tail ) @@ -38,7 +38,7 @@ typedef struct { (_buffer)->tail = ((_buffer)->tail+1) % RINGBUF_QUEUE_LENGTH; \ (_buffer)->buffer[ (_buffer)->tail ] = (_ch); \ rtems_interrupt_enable( isrlevel ); \ - } while ( 0 ) + } while ( 0 ) #define Ring_buffer_Remove_character( _buffer, _ch ) \ do { \ @@ -48,6 +48,6 @@ typedef struct { (_buffer)->head = ((_buffer)->head+1) % RINGBUF_QUEUE_LENGTH; \ (_ch) = (_buffer)->buffer[ (_buffer)->head ]; \ rtems_interrupt_enable( isrlevel ); \ - } while ( 0 ) + } while ( 0 ) #endif |