From 33b18e74c9589fd4d5507ab88bd1fb19c15965dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 22 Feb 2022 01:56:48 +0100 Subject: [PATCH] tools: mark a function static inline, needed for -O0 builds with clang --- tools/babl-benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/babl-benchmark.c b/tools/babl-benchmark.c index 32d66c2..2310185 100644 --- a/tools/babl-benchmark.c +++ b/tools/babl-benchmark.c @@ -97,7 +97,7 @@ inline uint64_t bench_ticks (void) { return ((uint64_t)hi << 32 | lo) / 2100; } #else -inline uint64_t bench_ticks (void) { return babl_ticks();} +static inline uint64_t bench_ticks (void) { return babl_ticks();} #endif #if 0 -- 2.30.2