summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/bits.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/c/gu/bits.c')
-rw-r--r--src/runtime/c/gu/bits.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/c/gu/bits.c b/src/runtime/c/gu/bits.c
index 6197983cc..8c43b8477 100644
--- a/src/runtime/c/gu/bits.c
+++ b/src/runtime/c/gu/bits.c
@@ -7,7 +7,8 @@
#include <stdlib.h>
#include <math.h>
-unsigned gu_ceil2e(unsigned u)
+GU_INTERNAL unsigned
+gu_ceil2e(unsigned u)
{
u--;
u |= u >> 1;
@@ -24,7 +25,7 @@ unsigned gu_ceil2e(unsigned u)
return u;
}
-double
+GU_INTERNAL double
gu_decode_double(uint64_t u)
{
bool sign = u >> 63;