diff options
| author | krasimir <krasimir@chalmers.se> | 2017-04-19 12:30:40 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2017-04-19 12:30:40 +0000 |
| commit | 5c93f2fba5eadaa1e516106c08d495c14a0eb647 (patch) | |
| tree | e0d2a925cc0f3c0d8ec4bac0668fb42b2a64babe /src/runtime/c/gu/bits.c | |
| parent | 74ce52d761de9bc49fbb1aaf2d273d3edc34a3d6 (diff) | |
in libgu mark explicitly all functions that belong to the API
Diffstat (limited to 'src/runtime/c/gu/bits.c')
| -rw-r--r-- | src/runtime/c/gu/bits.c | 5 |
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; |
