mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-27 21:59:24 +01:00
Make fp16_to_double static
This prevents this internal symbol from being leaked in the library's symbol table.
This commit is contained in:
parent
7f07d398d1
commit
9a6a7aaa87
1 changed files with 1 additions and 1 deletions
2
output.c
2
output.c
|
@ -68,7 +68,7 @@ bool liftoff_output_needs_composition(struct liftoff_output *output)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
double fp16_to_double(uint64_t val) {
|
static double fp16_to_double(uint64_t val) {
|
||||||
return (double)(val >> 16) + (double)(val & 0xFFFF) / 0xFFFF;
|
return (double)(val >> 16) + (double)(val & 0xFFFF) / 0xFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue