summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-03 22:19:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-05-03 22:19:04 +0000
commit72ba6689b83bcba71e93abadcdc4a08bf63a74fb (patch)
tree1c276490d6c401fa688250acd5ec11b94c8bfc36
parent6ab87973f42e470129a2cb684de1b4b33801dc8f (diff)
downloadrtems-72ba6689b83bcba71e93abadcdc4a08bf63a74fb.tar.bz2
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/ringbuf.h: Use uint8_t instead of char for raw data buffer.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libcsupport/include/ringbuf.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index dfbcd02a66..35546aec7e 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2005-05-03 Joel Sherrill <joel@OARcorp.com>
+ * libcsupport/include/ringbuf.h: Use uint8_t instead of char for raw
+ data buffer.
+
+2005-05-03 Joel Sherrill <joel@OARcorp.com>
+
* rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of
RTEMS_INVALID_ADDRESS on success path.
diff --git a/cpukit/libcsupport/include/ringbuf.h b/cpukit/libcsupport/include/ringbuf.h
index a9abbbe9df..39941d857d 100644
--- a/cpukit/libcsupport/include/ringbuf.h
+++ b/cpukit/libcsupport/include/ringbuf.h
@@ -16,7 +16,7 @@
#endif
typedef struct {
- char buffer[RINGBUF_QUEUE_LENGTH];
+ uint8_t buffer[RINGBUF_QUEUE_LENGTH];
volatile int head;
volatile int tail;
} Ring_buffer_t;