Move wl_priv_signal to wayland-server-private.h
authorJoshua Watt <JPEWhacker@gmail.com>
Tue, 5 Nov 2019 15:09:50 +0000 (09:09 -0600)
committerJoshua Watt <JPEWhacker@gmail.com>
Wed, 6 Nov 2019 14:24:14 +0000 (08:24 -0600)
commite7d88f35eb89cf0cc77cbddd834cacc63683a9cc
tree7590f5dcfe7172dea1cf3ed5fe15f5d2405db7b0
parent4a1f348c20157db7bd7c759fdeb23fbe8729c571
Move wl_priv_signal to wayland-server-private.h

Including wayland-server-core.h in wayland-private.h is problematic
because wayland-private.h is included by wayland-scanner which should be
able to build against non-POSIX platforms (e.g. MinGW). The only reason
that wayland-server-core.h was included in wayland-private.h was for the
wl_private_signal definitions, so move those to a
wayland-server-private.h file that can be included by both
wayland-server.c and the tests.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Makefile.am
src/wayland-private.h
src/wayland-server-private.h [new file with mode: 0644]
src/wayland-server.c
tests/newsignal-test.c