summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 17:59:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 17:59:12 +0000
commiteaeb467139ed6c7322cdf42dfb9698811e00d8d8 (patch)
tree69b1d2f50b7f8f789c1fc1c03288df8c0e3e5517
parentfabacfedb8d6d281000f616e8902bde8187b2c69 (diff)
downloadrtems-eaeb467139ed6c7322cdf42dfb9698811e00d8d8.tar.bz2
2001-03-20 Joel Sherrill <joel@OARcorp.com>
* PR143 * lib/include/rtems/termiostypes.h: Removed unneeded volatile on "theBuf" since no byte is read more than once anyway.
-rw-r--r--c/src/exec/libcsupport/include/rtems/termiostypes.h2
-rw-r--r--c/src/lib/ChangeLog6
-rw-r--r--c/src/lib/include/rtems/termiostypes.h2
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h2
4 files changed, 9 insertions, 3 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/termiostypes.h b/c/src/exec/libcsupport/include/rtems/termiostypes.h
index fe19bd4cb4..adda9e0871 100644
--- a/c/src/exec/libcsupport/include/rtems/termiostypes.h
+++ b/c/src/exec/libcsupport/include/rtems/termiostypes.h
@@ -33,7 +33,7 @@ struct ttywakeup {
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
- volatile char *theBuf;
+ char *theBuf;
volatile unsigned int Head;
volatile unsigned int Tail;
volatile unsigned int Size;
diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog
index 0be8ed83b3..c7441b3ca9 100644
--- a/c/src/lib/ChangeLog
+++ b/c/src/lib/ChangeLog
@@ -1,3 +1,9 @@
+2001-03-20 Joel Sherrill <joel@OARcorp.com>
+
+ * PR143
+ * lib/include/rtems/termiostypes.h: Removed unneeded volatile on
+ "theBuf" since no byte is read more than once anyway.
+
2002-03-01 Eric Norum <eric.norum@usask.ca>
* libc/gxx_wrappers.c: Task is not preemptable while running a
diff --git a/c/src/lib/include/rtems/termiostypes.h b/c/src/lib/include/rtems/termiostypes.h
index fe19bd4cb4..adda9e0871 100644
--- a/c/src/lib/include/rtems/termiostypes.h
+++ b/c/src/lib/include/rtems/termiostypes.h
@@ -33,7 +33,7 @@ struct ttywakeup {
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
- volatile char *theBuf;
+ char *theBuf;
volatile unsigned int Head;
volatile unsigned int Tail;
volatile unsigned int Size;
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h
index fe19bd4cb4..adda9e0871 100644
--- a/cpukit/libcsupport/include/rtems/termiostypes.h
+++ b/cpukit/libcsupport/include/rtems/termiostypes.h
@@ -33,7 +33,7 @@ struct ttywakeup {
* Variables associated with the character buffer
*/
struct rtems_termios_rawbuf {
- volatile char *theBuf;
+ char *theBuf;
volatile unsigned int Head;
volatile unsigned int Tail;
volatile unsigned int Size;