mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-21 01:40:57 -05:00
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:
parent
91f428c80b
commit
a8a1d3d1cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue