summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/capture/capture_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/capture/capture_buffer.c')
-rw-r--r--cpukit/libmisc/capture/capture_buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libmisc/capture/capture_buffer.c b/cpukit/libmisc/capture/capture_buffer.c
index 6f557a9413..13e6d1b624 100644
--- a/cpukit/libmisc/capture/capture_buffer.c
+++ b/cpukit/libmisc/capture/capture_buffer.c
@@ -28,8 +28,8 @@
void * rtems_capture_buffer_allocate( rtems_capture_buffer_t* buffer, size_t size )
{
- static uint32_t end;
- static void *ptr;
+ size_t end;
+ void *ptr;
if ( rtems_capture_buffer_is_full( buffer ) )
return NULL;
@@ -89,9 +89,9 @@ void * rtems_capture_buffer_allocate( rtems_capture_buffer_t* buffer, size_t siz
void *rtems_capture_buffer_free( rtems_capture_buffer_t* buffer, size_t size )
{
- static void *ptr;
- static uint32_t next;
- size_t buff_size;
+ void *ptr;
+ size_t next;
+ size_t buff_size;
if (size == 0)
return NULL;