Turn into static function

This commit is contained in:
twinaphex 2016-09-18 16:55:56 +02:00
parent 61c3de1f6a
commit 870182cd88
2 changed files with 1 additions and 4 deletions

View File

@ -224,7 +224,7 @@ uint32_t utf8_walk(const char **string)
return ret | (first&7)<<6;
}
bool utf16_to_char(uint8_t **utf_data,
static bool utf16_to_char(uint8_t **utf_data,
size_t *dest_len, const uint16_t *in)
{
unsigned len = 0;

View File

@ -42,9 +42,6 @@ const char *utf8skip(const char *str, size_t chars);
uint32_t utf8_walk(const char **string);
bool utf16_to_char(uint8_t **utf_data,
size_t *dest_len, const uint16_t *in);
bool utf16_to_char_string(const uint16_t *in, char *s, size_t len);
#endif