On 2018-02-26 03:44 AM, Pekka Paalanen wrote:
From: Pekka Paalanen <[email protected]>

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 <[email protected]>

Sigh.  Obviously correct.

Reviewed-by: Derek Foreman <[email protected]>

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


_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to