testsuite: Fix warnings

This commit is contained in:
Sebastian Huber 2016-10-07 07:23:33 +02:00
parent e11f8e31f0
commit 335bb97980
5 changed files with 3 additions and 5 deletions

View File

@ -31,6 +31,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <rtems/bdbuf.h>
#include <rtems/console.h>

View File

@ -189,7 +189,7 @@ static void
waiter(int fd, int secs, void *arg)
{
int* toggle = (int*) arg;
const char* toggles = "|/-|\-";
const char* toggles = "|/-|\\-";
printf("\b%c", toggles[*toggle]);
fflush(stdout);
++(*toggle);

View File

@ -967,7 +967,6 @@ test_kqueue_user(test_context *ctx)
struct kevent event;
const struct timespec *timeout = NULL;
int rv;
ssize_t n;
puts("test kqueue user");

View File

@ -260,8 +260,6 @@ test_main(void)
{
test_context *ctx = &test_instance;
size_t i;
rtems_id id;
rtems_status_code sc;
for (i = 0; i < OBJ_COUNT; ++i) {
ctx->value[i] = i;