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>
dev
Guillaume Champagne 5 years ago committed by Pekka Paalanen
parent b4bd12b738
commit 1cb09480e2
  1. 10
      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)
{
}

Loading…
Cancel
Save