summaryrefslogtreecommitdiffstats
path: root/imap/utf7.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-07-18 07:48:48 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-07-18 07:48:48 +0000
commit2276418fdb25e61a395967fd30cef274967baaa9 (patch)
treefc56c8c3f4d711c32801fcaffea1840bbb5d7817 /imap/utf7.c
parente52e44a54575122b897068af60267592d5eccbd9 (diff)
IMAP fixes from Brendan Cully.
Diffstat (limited to 'imap/utf7.c')
-rw-r--r--imap/utf7.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/imap/utf7.c b/imap/utf7.c
index 07192606..4733b814 100644
--- a/imap/utf7.c
+++ b/imap/utf7.c
@@ -48,7 +48,8 @@ static char B64Chars[64] = {
* form, such as &ACY- (instead of &-) or &AMA-&AMA- (instead
* of &AMAAwA-).
*/
-char *utf7_to_utf8 (const char *u7, size_t u7len, char **u8, size_t *u8len)
+static char *utf7_to_utf8 (const char *u7, size_t u7len, char **u8,
+ size_t *u8len)
{
char *buf, *p;
int b, ch, k;
@@ -140,7 +141,8 @@ char *utf7_to_utf8 (const char *u7, size_t u7len, char **u8, size_t *u8len)
* Unicode characters above U+FFFF are replaced by U+FFFE.
* If input data is invalid, return 0 and don't store anything.
*/
-char *utf8_to_utf7 (const char *u8, size_t u8len, char **u7, size_t *u7len)
+static char *utf8_to_utf7 (const char *u8, size_t u8len, char **u7,
+ size_t *u7len)
{
char *buf, *p;
int ch;