mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Mark non-exported functions as static
MSVC throws a warning.
This commit is contained in:
parent
b751ed5026
commit
3ae4c0764f
1 changed files with 2 additions and 2 deletions
4
cutils.c
4
cutils.c
|
@ -600,7 +600,7 @@ char const digits36[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
|
||||||
else \
|
else \
|
||||||
buf = (buf << 8) | (c)
|
buf = (buf << 8) | (c)
|
||||||
|
|
||||||
size_t u7toa_shift(char dest[minimum_length(8)], uint32_t n)
|
static size_t u7toa_shift(char dest[minimum_length(8)], uint32_t n)
|
||||||
{
|
{
|
||||||
size_t len = 1;
|
size_t len = 1;
|
||||||
uint64_t buf = 0;
|
uint64_t buf = 0;
|
||||||
|
@ -615,7 +615,7 @@ size_t u7toa_shift(char dest[minimum_length(8)], uint32_t n)
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t u07toa_shift(char dest[minimum_length(8)], uint32_t n, size_t len)
|
static size_t u07toa_shift(char dest[minimum_length(8)], uint32_t n, size_t len)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
dest += len;
|
dest += len;
|
||||||
|
|
Loading…
Reference in a new issue