rdp: Export rdp_head_destroy

We'll need this from other files for multi-head support.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2022-12-13 10:15:55 -06:00 committed by Daniel Stone
parent 5f628006f0
commit 0d06d709d6
2 changed files with 4 additions and 1 deletions

View File

@ -550,7 +550,7 @@ rdp_head_create(struct weston_compositor *compositor, const char *name)
return 0;
}
static void
void
rdp_head_destroy(struct weston_head *base)
{
struct rdp_head *head = to_rdp_head(base);

View File

@ -235,6 +235,9 @@ rdp_clipboard_destroy(RdpPeerContext *peerCtx);
void
rdp_destroy(struct weston_compositor *ec);
void
rdp_head_destroy(struct weston_head *base);
static inline struct rdp_head *
to_rdp_head(struct weston_head *base)
{