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 <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2019-07-09 16:31:35 +03:00 committed by Daniel Stone
parent 1c0d04bff7
commit 4d79283248
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -46,4 +46,7 @@ struct weston_launcher_open {
char path[0];
};
int
weston_environment_get_fd(const char *env);
#endif