From 376cad54b166870abd3ffa601c8364abbc3eecb0 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 21 Aug 2014 14:03:52 +0000 Subject: Apply static-fixes.patch by skunk. STR #2988 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/xutf8/ucs2fontmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xutf8/ucs2fontmap.c') diff --git a/src/xutf8/ucs2fontmap.c b/src/xutf8/ucs2fontmap.c index e9076521e..8446b08a8 100644 --- a/src/xutf8/ucs2fontmap.c +++ b/src/xutf8/ucs2fontmap.c @@ -57,7 +57,7 @@ typedef struct { /*************** conv_gen.c ************/ /*const*/ -int ucs2fontmap(char *s, unsigned int ucs, int enc) { +static int ucs2fontmap(char *s, unsigned int ucs, int enc) { switch(enc) { case 0: /* iso10646-1 */ s[0] = (char) ((ucs & 0xFF00) >> 8); @@ -298,7 +298,7 @@ int ucs2fontmap(char *s, unsigned int ucs, int enc) { } /*const*/ -int encoding_number(const char *enc) { +static int encoding_number(const char *enc) { if (!enc || !strncmp(enc, "iso10646-1", 10)) { return 0; } else if (!strcmp(enc, "iso8859-1")) { -- cgit v1.2.3