diff options
author | emersion <contact@emersion.fr> | 2019-02-28 23:15:34 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-03-01 09:20:23 +0100 |
commit | 5445d8aad0112dab3ed798c39bf6b22f2a4eebd1 (patch) | |
tree | cddeb6dd5665e81d815fe51650fb8bb69b88f3dd /xwayland | |
parent | 4135fafecd5c9a8daafb0caec96089cfa0926c6e (diff) |
meson: enable more compiler warnings
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/sockets.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xwayland/sockets.c b/xwayland/sockets.c index f90e3ca4..6360745f 100644 --- a/xwayland/sockets.c +++ b/xwayland/sockets.c @@ -14,11 +14,11 @@ #include <wlr/util/log.h> #include "sockets.h" -static const char *lock_fmt = "/tmp/.X%d-lock"; -static const char *socket_dir = "/tmp/.X11-unix"; -static const char *socket_fmt = "/tmp/.X11-unix/X%d"; +static const char lock_fmt[] = "/tmp/.X%d-lock"; +static const char socket_dir[] = "/tmp/.X11-unix"; +static const char socket_fmt[] = "/tmp/.X11-unix/X%d"; #ifndef __linux__ -static const char *socket_fmt2 = "/tmp/.X11-unix/X%d_"; +static const char socket_fmt2[] = "/tmp/.X11-unix/X%d_"; #endif bool set_cloexec(int fd, bool cloexec) { |