summaryrefslogtreecommitdiff
path: root/tests/lib/test_timer_correctness.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_timer_correctness.c')
-rw-r--r--tests/lib/test_timer_correctness.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/test_timer_correctness.c b/tests/lib/test_timer_correctness.c
index fa197cd1c9..b2e3d8de69 100644
--- a/tests/lib/test_timer_correctness.c
+++ b/tests/lib/test_timer_correctness.c
@@ -35,7 +35,7 @@ static char *expected_buf;
static struct prng *prng;
-static struct thread **timers;
+static struct event **timers;
static int timers_pending;
@@ -63,7 +63,7 @@ static void terminate_test(void)
exit(exit_code);
}
-static void timer_func(struct thread *thread)
+static void timer_func(struct event *thread)
{
int rv;
@@ -94,7 +94,7 @@ static int cmp_timeval(const void *a, const void *b)
int main(int argc, char **argv)
{
int i, j;
- struct thread t;
+ struct event t;
struct timeval **alarms;
master = thread_master_create(NULL);