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 <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston Sequoia 2023-01-27 19:45:12 -08:00
parent 91f428c80b
commit a8a1d3d1cf

View file

@ -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);