mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 15:59:52 +08:00
testsuite: Fix warnings
This commit is contained in:
parent
e11f8e31f0
commit
335bb97980
@ -31,6 +31,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <rtems/bdbuf.h>
|
||||
#include <rtems/console.h>
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user