mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
meson: enable more compiler warnings
This commit is contained in:
parent
4135fafecd
commit
5445d8aad0
7 changed files with 34 additions and 21 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue