diff --git a/libweston/backend-rdp/rdp.c b/libweston/backend-rdp/rdp.c index b17e90247..0d19af155 100644 --- a/libweston/backend-rdp/rdp.c +++ b/libweston/backend-rdp/rdp.c @@ -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); diff --git a/libweston/backend-rdp/rdp.h b/libweston/backend-rdp/rdp.h index 6a3f07797..546b3f18f 100644 --- a/libweston/backend-rdp/rdp.h +++ b/libweston/backend-rdp/rdp.h @@ -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) {