mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-30 11:11:05 -04:00
Merge branch 'darwin-portability' into 'main'
Misc portability improvements to help bring wayland to darwin See merge request wayland/wayland!290
This commit is contained in:
commit
29f820549f
14 changed files with 138 additions and 28 deletions
|
|
@ -93,7 +93,7 @@ get_socket_name(void)
|
|||
|
||||
gettimeofday(&tv, NULL);
|
||||
snprintf(retval, sizeof retval, "wayland-test-%d-%ld%ld",
|
||||
getpid(), tv.tv_sec, tv.tv_usec);
|
||||
(int)getpid(), (long)tv.tv_sec, (long)tv.tv_usec);
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
|
@ -510,7 +510,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