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 <champagne.guillaume.c@gmail.com>
This commit is contained in:
Guillaume Champagne 2020-01-27 20:12:16 -05:00 committed by Pekka Paalanen
parent b4bd12b738
commit 1cb09480e2

View file

@ -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)
{
}