Re: [PATCH wayland 4/4] array-test: Include wayland-util.h and simplify init test

2016-09-20 Thread Pekka Paalanen
On Fri, 16 Sep 2016 15:37:39 -0700 Yong Bakos wrote: > From: Yong Bakos > > Include wayland-util.h instead of wayland-private.h, because that's where > wl_array is and nothing in wayland-private.h is required. > > Remove the useless repeated testing of wl_array_init, because if it fails once >

[PATCH wayland 4/4] array-test: Include wayland-util.h and simplify init test

2016-09-16 Thread Yong Bakos
From: Yong Bakos Include wayland-util.h instead of wayland-private.h, because that's where wl_array is and nothing in wayland-private.h is required. 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-