From eaeb467139ed6c7322cdf42dfb9698811e00d8d8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 Mar 2002 17:59:12 +0000 Subject: 2001-03-20 Joel Sherrill * PR143 * lib/include/rtems/termiostypes.h: Removed unneeded volatile on "theBuf" since no byte is read more than once anyway. --- c/src/exec/libcsupport/include/rtems/termiostypes.h | 2 +- c/src/lib/ChangeLog | 6 ++++++ c/src/lib/include/rtems/termiostypes.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'c/src') 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 + + * 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 * 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; -- cgit v1.2.3