summaryrefslogtreecommitdiffstats
path: root/tests/helpers/c/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/c/main.c')
-rw-r--r--tests/helpers/c/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c
index 209b4ad86..ae089398e 100644
--- a/tests/helpers/c/main.c
+++ b/tests/helpers/c/main.c
@@ -33,7 +33,7 @@ DEFUN (daemon_exit,
}
static int timer_count;
-static void test_timer(struct thread *thread)
+static void test_timer(struct event *thread)
{
int *count = THREAD_ARG(thread);
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
int vty_port = 4000;
int daemon_mode = 0;
char *progname;
- struct thread thread;
+ struct event thread;
char *config_file = NULL;
/* Set umask before anything for security */