Skip to content

meson: fix missing prototypes warnings and add flag to build

Patches to fix missing prototypes warnings in the build and to reintroduce the flag in the build

In some places, functions were used without the appropriate include (mainly libweston-internal), in other declaring the function static was sufficient.

The definition of function weston_environment_get_fd is moved to launcher-weston-launch.c instead of compositor.c since it is only used there, and the function prototype was declared in weston-launch.h.

Fixes issue 345

Edited by Guillaume Champagne

Merge request reports