From 5c93f2fba5eadaa1e516106c08d495c14a0eb647 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 19 Apr 2017 12:30:40 +0000 Subject: in libgu mark explicitly all functions that belong to the API --- src/runtime/c/gu/bits.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/gu/bits.c') 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 #include -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; -- cgit v1.2.3