[PATCH wayland] tests: fix scanner private-code test reference data

Pekka Paalanen ppaalanen at gmail.com
Mon Feb 26 09:44:25 UTC 2018


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>
---
 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
-- 
2.16.1



More information about the wayland-devel mailing list