From 1cb09480e29b5e9bec50dc4ce1bb56b7327e499b Mon Sep 17 00:00:00 2001 From: Guillaume Champagne Date: Mon, 27 Jan 2020 20:12:16 -0500 Subject: [PATCH] window: fix missing prototypes warning Declare touch_handle_shape and touch_handle_orientation as static functions as they are local to window.c. Signed-off-by: Guillaume Champagne --- clients/window.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/clients/window.c b/clients/window.c index 2bd303ee..1bb9f3dc 100644 --- a/clients/window.c +++ b/clients/window.c @@ -3436,13 +3436,15 @@ touch_handle_cancel(void *data, struct wl_touch *wl_touch) } } -void touch_handle_shape(void *data, struct wl_touch *wl_touch, int32_t id, - wl_fixed_t major, wl_fixed_t minor) +static void +touch_handle_shape(void *data, struct wl_touch *wl_touch, int32_t id, + wl_fixed_t major, wl_fixed_t minor) { } -void touch_handle_orientation(void *data, struct wl_touch *wl_touch, int32_t id, - wl_fixed_t orientation) +static void +touch_handle_orientation(void *data, struct wl_touch *wl_touch, int32_t id, + wl_fixed_t orientation) { }