diff options
author | Øyvind Kolås <pippin@gimp.org> | 2022-02-22 01:56:48 +0100 |
---|---|---|
committer | Øyvind Kolås <pippin@gimp.org> | 2022-02-22 01:56:48 +0100 |
commit | 33b18e74c9589fd4d5507ab88bd1fb19c15965dd (patch) | |
tree | c2d79db7417e42783da8b5fb888e06f6cabc8bd1 /tools | |
parent | ebe63b3532b39b280f15776c3edc8298930b1574 (diff) |
tools: mark a function static inline, needed for -O0 builds with clang
Diffstat (limited to 'tools')
-rw-r--r-- | tools/babl-benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |