From 4d79283248ae5548de121ff72539d8f07a6b51d3 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 9 Jul 2019 16:31:35 +0300 Subject: [PATCH] libweston: Migrate weston_environment_get_fd() to weston-launch header This is private so it doesn't belong to public libweston API header. Signed-off-by: Marius Vlad --- include/libweston/libweston.h | 3 --- libweston/weston-launch.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index f28a3326..4e9690a4 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -1949,9 +1949,6 @@ void weston_compositor_set_default_pointer_grab(struct weston_compositor *compositor, const struct weston_pointer_grab_interface *interface); -int -weston_environment_get_fd(const char *env); - struct weston_surface * weston_surface_create(struct weston_compositor *compositor); diff --git a/libweston/weston-launch.h b/libweston/weston-launch.h index bd974de8..819321c8 100644 --- a/libweston/weston-launch.h +++ b/libweston/weston-launch.h @@ -46,4 +46,7 @@ struct weston_launcher_open { char path[0]; }; +int +weston_environment_get_fd(const char *env); + #endif