[PATCH wayland] tests: fix scanner private-code test reference data
Derek Foreman
derekf at osg.samsung.com
Mon Feb 26 13:36:19 UTC 2018
On 2018-02-26 03:44 AM, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> Commit e501230d1dc8a5015616e104ec0e08886a0b88df "scanner: Fix broken
> private-code generation" changed the scanner output without updating the
> reference output for scanner tests.
>
> Update the reference data. This fixes 'make check'.
>
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Sigh. Obviously correct.
Reviewed-by: Derek Foreman <derekf at osg.samsung.com>
and pushed.
Thanks,
Derek
> ---
> tests/data/small-private-code.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/data/small-private-code.c b/tests/data/small-private-code.c
> index e447607..5e0bc88 100644
> --- a/tests/data/small-private-code.c
> +++ b/tests/data/small-private-code.c
> @@ -33,7 +33,7 @@
> # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */
> #endif
>
> -#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4
> +#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)
> #define WL_PRIVATE __attribute__ ((visibility("hidden")))
> #else
> #define WL_PRIVATE
>
More information about the wayland-devel
mailing list