Make fp16_to_double static

This prevents this internal symbol from being leaked in the
library's symbol table.
This commit is contained in:
Simon Ser 2021-08-09 12:50:32 +02:00
parent 7f07d398d1
commit 9a6a7aaa87

View file

@ -68,7 +68,7 @@ bool liftoff_output_needs_composition(struct liftoff_output *output)
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;
}