Skip to content
Commit a1ab2c03 authored by Yong Bakos's avatar Yong Bakos Committed by Pekka Paalanen
Browse files

array-test: Include wayland-util.h and simplify init test



Include wayland-util.h in addition to wayland-private.h, to be more explicit
about where wl_array is defined.

Remove the useless repeated testing of wl_array_init, because if it fails once
out of thousands of iterations we're all doomed anyway.

Signed-off-by: default avatarYong Bakos <ybakos@humanoriented.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
[Pekka: add the memset]
Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent f04f2187
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment