[PATCH wayland] wayland-server: Clarify included header dependencies
Bryce Harrington
bryce at osg.samsung.com
Thu Jun 2 02:23:21 UTC 2016
On Tue, May 17, 2016 at 09:02:01PM -0600, Yong Bakos wrote:
> From: Yong Bakos <ybakos at humanoriented.com>
>
> wayland-server.c directly depends on wayland-util.h, and will include
> wayland-server-protocol.h via wayland-server.h.
>
> Explicitly include wayland-util.h, making this dependency clear.
> Remove the redundant inclusion of wayland-server-protocol.h.
>
> Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
Pushed:
To ssh://git.freedesktop.org/git/wayland/wayland
972f1a2..d588efc master -> master
> ---
> src/wayland-server.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/wayland-server.c b/src/wayland-server.c
> index f745e62..0fe532c 100644
> --- a/src/wayland-server.c
> +++ b/src/wayland-server.c
> @@ -43,9 +43,9 @@
> #include <sys/file.h>
> #include <sys/stat.h>
>
> +#include "wayland-util.h"
> #include "wayland-private.h"
> #include "wayland-server.h"
> -#include "wayland-server-protocol.h"
> #include "wayland-os.h"
>
> /* This is the size of the char array in struct sock_addr_un.
> --
> 2.7.2
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list