libweston: add missing include

Fixes missing prototypes compilation warnings emitted when a function
is defined before its prototype is declared.

These warnings were introduced over time since the switch to meson
because the -Wmissing-protoypes was not included in the compilation
arguments.

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
dev
Guillaume Champagne 5 years ago committed by Pekka Paalanen
parent 1cb09480e2
commit f1e8fc9dbf
  1. 1
      libweston/animation.c
  2. 1
      libweston/bindings.c
  3. 1
      libweston/clipboard.c
  4. 1
      libweston/content-protection.c
  5. 1
      libweston/data-device.c
  6. 1
      libweston/log.c
  7. 1
      libweston/noop-renderer.c
  8. 1
      libweston/touch-calibration.c
  9. 1
      xwayland/selection.c

@ -36,6 +36,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"

@ -30,6 +30,7 @@
#include <linux/input.h> #include <linux/input.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"

@ -34,6 +34,7 @@
#include <sys/uio.h> #include <sys/uio.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h" #include "shared/helpers.h"
struct clipboard_source { struct clipboard_source {

@ -32,6 +32,7 @@
#include <string.h> #include <string.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/weston-log.h> #include <libweston/weston-log.h>
#include "libweston-internal.h"
#include "weston-content-protection-server-protocol.h" #include "weston-content-protection-server-protocol.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"

@ -33,6 +33,7 @@
#include <assert.h> #include <assert.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"

@ -35,6 +35,7 @@
#include <wayland-util.h> #include <wayland-util.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "weston-log-internal.h"
/** /**
* \defgroup wlog weston-logging * \defgroup wlog weston-logging

@ -29,6 +29,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-internal.h"
static int static int
noop_renderer_read_pixels(struct weston_output *output, noop_renderer_read_pixels(struct weston_output *output,

@ -35,6 +35,7 @@
#include "shared/timespec-util.h" #include "shared/timespec-util.h"
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-internal.h" #include "libweston-internal.h"
#include "backend.h"
#include "weston-touch-calibration-server-protocol.h" #include "weston-touch-calibration-server-protocol.h"

@ -32,6 +32,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <libweston/libweston.h>
#include "xwayland.h" #include "xwayland.h"
#include "shared/helpers.h" #include "shared/helpers.h"

Loading…
Cancel
Save