Commit 1cb09480 authored by Guillaume Champagne's avatar Guillaume Champagne Committed by Pekka Paalanen
Browse files

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: default avatarGuillaume Champagne <champagne.guillaume.c@gmail.com>
parent b4bd12b7
......@@ -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)
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment