summaryrefslogtreecommitdiffstats
path: root/testsuites
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 /testsuites
parentsamples - Eliminate missing prototype warnings (diff)
downloadrtems-721fe34aaea8c2ff86d76b27122c9ed72b5064f4.tar.bz2
Fix C files which had two semi-colons at EOL
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/cpuuse/tswitch.c2
-rw-r--r--testsuites/libtests/flashdisk01/init.c2
-rw-r--r--testsuites/libtests/termios04/termios_testdriver_intr.c4
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c3
-rw-r--r--testsuites/samples/paranoia/paranoia.c4
5 files changed, 7 insertions, 8 deletions
diff --git a/testsuites/libtests/cpuuse/tswitch.c b/testsuites/libtests/cpuuse/tswitch.c
index 5635014d28..6933f89ae6 100644
--- a/testsuites/libtests/cpuuse/tswitch.c
+++ b/testsuites/libtests/cpuuse/tswitch.c
@@ -29,7 +29,7 @@
*/
struct taskSwitchLog taskSwitchLog[25];
int taskSwitchLogIndex;
-volatile int testsFinished;;
+volatile int testsFinished;
void Task_switch(
rtems_tcb *unused,
diff --git a/testsuites/libtests/flashdisk01/init.c b/testsuites/libtests/flashdisk01/init.c
index 5ca6614e0c..3c6ffae1af 100644
--- a/testsuites/libtests/flashdisk01/init.c
+++ b/testsuites/libtests/flashdisk01/init.c
@@ -227,7 +227,7 @@ static int flashdisk_blank(
{
int eno = 0;
const uint8_t *current = get_data_pointer(sd, segment, offset);
- const uint8_t *end = current + size;;
+ const uint8_t *end = current + size;
while (eno == 0 && current != end) {
if (*current != 0xff) {
diff --git a/testsuites/libtests/termios04/termios_testdriver_intr.c b/testsuites/libtests/termios04/termios_testdriver_intr.c
index 086bbb3a12..72a5f9e296 100644
--- a/testsuites/libtests/termios04/termios_testdriver_intr.c
+++ b/testsuites/libtests/termios04/termios_testdriver_intr.c
@@ -189,11 +189,11 @@ rtems_device_driver termios_test_driver_initialize(
status = rtems_timer_create(rtems_build_name('T', 'M', 'R', 'X'), &Rx_Timer);
if ( status )
- rtems_fatal_error_occurred(1);;
+ rtems_fatal_error_occurred(1);
status = rtems_timer_create(rtems_build_name('T', 'M', 'T', 'X'), &Tx_Timer);
if ( status )
- rtems_fatal_error_occurred(1);;
+ rtems_fatal_error_occurred(1);
return RTEMS_SUCCESSFUL;
}
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c
index 2591912127..00e5f29577 100644
--- a/testsuites/psxtests/psxmsgq01/init.c
+++ b/testsuites/psxtests/psxmsgq01/init.c
@@ -48,8 +48,7 @@ void verify_timed_receive(void);
void wait_for_signal(sigset_t *waitset, int sec, int expect_signal);
void verify_notify(void);
void verify_with_threads(void);
-void verify_timedout_mq_timedreceive(
- char *task_name, int que, int is_blocking);;
+void verify_timedout_mq_timedreceive(char *task_name, int que, int is_blocking);
void verify_timedout_mq_timedsend(int que, int is_blocking);
void verify_timed_receive(void);
void validate_mq_setattr(void);
diff --git a/testsuites/samples/paranoia/paranoia.c b/testsuites/samples/paranoia/paranoia.c
index 2620ca7226..400063167a 100644
--- a/testsuites/samples/paranoia/paranoia.c
+++ b/testsuites/samples/paranoia/paranoia.c
@@ -1471,7 +1471,7 @@ or 1/3 and 3/9 and 9/27 may disagree");
if ((CInvrse * Q) != ((CInvrse * Y) * S)) {
UfThold = Y;
BadCond (Failure, "Either accuracy deteriorates as numbers\n");
- printf ("approach a threshold = %.17e\n", UfThold);;
+ printf ("approach a threshold = %.17e\n", UfThold);
printf (" coming down from %.17e\n", C);
printf (" or else multiplication gets too many last digits wrong.\n");
}
@@ -1526,7 +1526,7 @@ or 1/3 and 3/9 and 9/27 may disagree");
printf ("yet X - Z yields %.17e .\n", Z9);
printf (" Should this NOT signal Underflow, ");
printf ("this is a SERIOUS DEFECT\nthat causes ");
- printf ("confusion when innocent statements like\n");;
+ printf ("confusion when innocent statements like\n");
printf (" if (X == Z) ... else");
printf (" ... (f(X) - f(Z)) / (X - Z) ...\n");
printf ("encounter Division by Zero although actually\n");