projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe63b3
)
tools: mark a function static inline, needed for -O0 builds with clang
author
Øyvind Kolås
<pippin@gimp.org>
Tue, 22 Feb 2022 00:56:48 +0000
(
01:56
+0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Tue, 22 Feb 2022 00:56:48 +0000
(
01:56
+0100)
tools/babl-benchmark.c
patch
|
blob
|
history
diff --git
a/tools/babl-benchmark.c
b/tools/babl-benchmark.c
index 32d66c2d296c979ecf876a07e162093f46d468e1..2310185a6a73a52039b64eb097907e8561ddc56c 100644
(file)
--- 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