summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-31 15:34:36 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-31 15:34:36 -0500
commit721fe34aaea8c2ff86d76b27122c9ed72b5064f4 (patch)
tree3f24a0b487e1467a144a5b83bbb9e9de70bdbd0e /c/src/lib/libcpu
parentsamples - Eliminate missing prototype warnings (diff)
downloadrtems-721fe34aaea8c2ff86d76b27122c9ed72b5064f4.tar.bz2
Fix C files which had two semi-colons at EOL
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/bfin/serial/uart.c2
-rw-r--r--c/src/lib/libcpu/powerpc/ppc403/console/console405.c4
-rw-r--r--c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/bfin/serial/uart.c b/c/src/lib/libcpu/bfin/serial/uart.c
index 3747425741..36ea3497bd 100644
--- a/c/src/lib/libcpu/bfin/serial/uart.c
+++ b/c/src/lib/libcpu/bfin/serial/uart.c
@@ -531,7 +531,7 @@ void uart_exit(void)
*/
rtems_device_driver bfin_uart_open(rtems_device_major_number major,
rtems_device_minor_number minor, void *arg) {
- rtems_status_code sc = RTEMS_NOT_DEFINED;;
+ rtems_status_code sc = RTEMS_NOT_DEFINED;
rtems_libio_open_close_args_t *args = NULL;
/**
diff --git a/c/src/lib/libcpu/powerpc/ppc403/console/console405.c b/c/src/lib/libcpu/powerpc/ppc403/console/console405.c
index f7972aae5e..033a9ef41e 100644
--- a/c/src/lib/libcpu/powerpc/ppc403/console/console405.c
+++ b/c/src/lib/libcpu/powerpc/ppc403/console/console405.c
@@ -248,7 +248,7 @@ spiPollRead (int minor)
{
/* Wait for character */
- while ((port->LSR & LSR_RSR)==0);;
+ while ((port->LSR & LSR_RSR)==0);
return port->RBR;
}
@@ -259,7 +259,7 @@ spiPollWrite(int minor, const char *buf, size_t len)
{
while (len-- > 0) {
- while (!(port->LSR & LSR_THE));;
+ while (!(port->LSR & LSR_THE));
port->THR = *buf++;
}
return 0;
diff --git a/c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c b/c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c
index 7a52950285..0733ddb0ba 100644
--- a/c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c
+++ b/c/src/lib/libcpu/powerpc/ppc403/tty_drv/tty_drv.c
@@ -212,7 +212,7 @@ tty0PollRead (int minor)
{
/* Wait for character */
- while ((tty0port->LSR & LSR_RSR)==0);;
+ while ((tty0port->LSR & LSR_RSR)==0);
return tty0port->RBR;
}
@@ -223,7 +223,7 @@ tty0PollWrite(int minor, const char *buf, size_t len)
{
while (len-- > 0) {
- while (!(tty0port->LSR & LSR_THE));;
+ while (!(tty0port->LSR & LSR_THE));
tty0port->THR = *buf++;
}
return 0;