summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog5
-rw-r--r--Build/source/texk/dvipdfm-x/type0.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 75f80fa0233..2eb07480406 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-18 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * type0.c (Type0Font_*_ToUnicode_stream): Declare once as static
+ (once again!).
+
2014-07-28 Khaled Hosny <khaledhosny@eglug.org>
* dvi.c (do_pic_file): Don't insert the pic file while skimming
diff --git a/Build/source/texk/dvipdfm-x/type0.c b/Build/source/texk/dvipdfm-x/type0.c
index e1f1feeb954..1356b7271c1 100644
--- a/Build/source/texk/dvipdfm-x/type0.c
+++ b/Build/source/texk/dvipdfm-x/type0.c
@@ -152,7 +152,8 @@ Type0Font_clean (Type0Font *font)
/* PLEASE FIX THIS */
#include "tt_cmap.h"
-pdf_obj *Type0Font_create_ToUnicode_stream(Type0Font *font) {
+static pdf_obj *
+Type0Font_create_ToUnicode_stream(Type0Font *font) {
CIDFont *cidfont = font->descendant;
char *used = Type0Font_get_usedglyphs(font);
if (!used)
@@ -165,7 +166,8 @@ pdf_obj *Type0Font_create_ToUnicode_stream(Type0Font *font) {
/* Try to load ToUnicode CMap from file system first, if not found fallback to
* font CMap reverse lookup. */
-pdf_obj *Type0Font_try_load_ToUnicode_stream(Type0Font *font, char *cmap_base) {
+static pdf_obj *
+Type0Font_try_load_ToUnicode_stream(Type0Font *font, char *cmap_base) {
char *cmap_name = NEW(strlen(cmap_base) + strlen("-UTF-16"), char);
pdf_obj *tounicode;