summaryrefslogtreecommitdiff
path: root/src/xutf8/ucs2fontmap.c
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2014-08-21 14:03:52 +0000
committerLauri Kasanen <cand@gmx.com>2014-08-21 14:03:52 +0000
commit376cad54b166870abd3ffa601c8364abbc3eecb0 (patch)
tree35593f366a6dacedd8b8a8fc736819b87275fcc3 /src/xutf8/ucs2fontmap.c
parentc4b3a2d5d3d66849807929701b36e7d6272e5cbd (diff)
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
Diffstat (limited to 'src/xutf8/ucs2fontmap.c')
-rw-r--r--src/xutf8/ucs2fontmap.c4
1 files changed, 2 insertions, 2 deletions
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")) {