From 3796267cfcf28bb31ee2cd061bd46eba3bf2bfec Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 20 May 2026 18:41:10 -0500 Subject: [PATCH] trace: Fix WESTON_TRACE_ANNOTATE_FUNC() when not building perfetto This should be variadic. Nothing uses it, so it hasn't broken yet, but we're about to use it, so clean it up. Signed-off-by: Derek Foreman --- libweston/weston-trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/weston-trace.h b/libweston/weston-trace.h index cfab9d9c6..82f4e3aa9 100644 --- a/libweston/weston-trace.h +++ b/libweston/weston-trace.h @@ -310,7 +310,7 @@ _weston_trace_scope_end(int *scope) #define _WESTON_TRACE_BEGIN_ANNOTATION() #define _WESTON_TRACE_COMMIT_ANNOTATION(id, name) -#define _WESTON_TRACE_ANNOTATE_FUNC() +#define _WESTON_TRACE_ANNOTATE_FUNC(...) #define _WESTON_TRACE_ANNOTATE_FUNC_FLOW(id, name) #define _WESTON_TRACE_ANNOTATE(...)