diff options
author | Simon Ser <contact@emersion.fr> | 2019-07-27 11:53:54 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-27 15:49:32 -0400 |
commit | ca45f4490ccce64bf7aa0985951319646b55d258 (patch) | |
tree | b786f4c4fb07ab3af9b1567510cb75b4eb905bc9 /backend/session | |
parent | 76ef089f52b20a2def3dd1f8a8564af165050dcb (diff) |
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.
Diffstat (limited to 'backend/session')
-rw-r--r-- | backend/session/direct-freebsd.c | 2 | ||||
-rw-r--r-- | backend/session/direct.c | 2 | ||||
-rw-r--r-- | backend/session/logind.c | 2 | ||||
-rw-r--r-- | backend/session/noop.c | 2 | ||||
-rw-r--r-- | backend/session/session.c | 2 |
5 files changed, 5 insertions, 5 deletions
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 <sys/types.h> #include <termios.h> #include <unistd.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend/session/interface.h> #include <wlr/util/log.h> #include <xf86drm.h> 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 <sys/stat.h> #include <sys/sysmacros.h> #include <unistd.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend/session/interface.h> #include <wlr/util/log.h> #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 <sys/stat.h> #include <sys/sysmacros.h> #include <unistd.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend/session/interface.h> #include <wlr/config.h> #include <wlr/util/log.h> 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 <stdbool.h> #include <stdlib.h> #include <unistd.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend/session/interface.h> #include <wlr/util/log.h> #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 <string.h> #include <sys/stat.h> #include <sys/types.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend/session.h> #include <wlr/backend/session/interface.h> #include <wlr/config.h> |