summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_console.c4
-rw-r--r--tests/test_terminal.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/test_console.c b/tests/test_console.c
index fc8ba36..2a5f5ad 100644
--- a/tests/test_console.c
+++ b/tests/test_console.c
@@ -192,7 +192,9 @@ static void sig_term(struct ev_signal *sig, int signum, void *data)
terminate = 1;
}
-static bool vt_switch(struct kmscon_vt *vt, int action, void *data)
+static bool vt_switch(struct kmscon_vt *vt,
+ enum kmscon_vt_action action,
+ void *data)
{
struct console *con = data;
int ret;
diff --git a/tests/test_terminal.c b/tests/test_terminal.c
index 1015469..c9ccc22 100644
--- a/tests/test_terminal.c
+++ b/tests/test_terminal.c
@@ -139,7 +139,9 @@ static void activate_outputs(struct app *app)
}
}
-static bool vt_switch(struct kmscon_vt *vt, int action, void *data)
+static bool vt_switch(struct kmscon_vt *vt,
+ enum kmscon_vt_action action,
+ void *data)
{
struct app *app = data;
int ret;