From a8a1d3d1cf49d60354d851a201dad1755a574947 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Fri, 27 Jan 2023 19:45:12 -0800 Subject: [PATCH] tests: Silence strict prototype warning tests/test-compositor.c:460:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] struct client *client_connect() ^ void 1 warning generated. Signed-off-by: Jeremy Huddleston Sequoia --- tests/test-compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-compositor.c b/tests/test-compositor.c index b866f4c5..d0fa2f94 100644 --- a/tests/test-compositor.c +++ b/tests/test-compositor.c @@ -457,7 +457,7 @@ static const struct wl_registry_listener registry_listener = NULL }; -struct client *client_connect() +struct client *client_connect(void) { struct wl_registry *reg; struct client *c = calloc(1, sizeof *c);