From ca45f4490ccce64bf7aa0985951319646b55d258 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 27 Jul 2019 11:53:54 +0300 Subject: Remove all wayland-server.h includes The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration. --- backend/session/direct-freebsd.c | 2 +- backend/session/direct.c | 2 +- backend/session/logind.c | 2 +- backend/session/noop.c | 2 +- backend/session/session.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'backend/session') diff --git a/backend/session/direct-freebsd.c b/backend/session/direct-freebsd.c index 391cc3fd..238664ac 100644 --- a/backend/session/direct-freebsd.c +++ b/backend/session/direct-freebsd.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/session/direct.c b/backend/session/direct.c index c634575a..4ffd711d 100644 --- a/backend/session/direct.c +++ b/backend/session/direct.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include "backend/session/direct-ipc.h" diff --git a/backend/session/logind.c b/backend/session/logind.c index c7fb24c0..066003d9 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/backend/session/noop.c b/backend/session/noop.c index 87ec1207..0e13a177 100644 --- a/backend/session/noop.c +++ b/backend/session/noop.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include #include "util/signal.h" diff --git a/backend/session/session.c b/backend/session/session.c index 90fcfed6..70b4a567 100644 --- a/backend/session/session.c +++ b/backend/session/session.c @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.2.3