aboutsummaryrefslogtreecommitdiff
path: root/xwayland/sockets.c
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-20 07:59:03 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-23 22:03:49 +0200
commiteb5b9cc6daa39f6e1bcafae074f832f07b5d0a19 (patch)
tree79aad9559f8d3ef23bac535460a83321826481ad /xwayland/sockets.c
parentfa0e1015c6f06f08fe368f89af511ef646f0bc99 (diff)
xwayland: move & split internal header file
Diffstat (limited to 'xwayland/sockets.c')
-rw-r--r--xwayland/sockets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xwayland/sockets.c b/xwayland/sockets.c
index 714969fe..ca46ec9f 100644
--- a/xwayland/sockets.c
+++ b/xwayland/sockets.c
@@ -12,7 +12,7 @@
#include <sys/un.h>
#include <errno.h>
#include "wlr/util/log.h"
-#include "xwayland/internals.h"
+#include "sockets.h"
static const char *lock_fmt = "/tmp/.X%d-lock";
static const char *socket_dir = "/tmp/.X11-unix";
@@ -78,7 +78,7 @@ static bool open_sockets(int socks[2], int display) {
return true;
}
-void unlink_sockets(int display) {
+void unlink_display_sockets(int display) {
char sun_path[64];
snprintf(sun_path, sizeof(sun_path), socket_fmt, display);