summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-07-28 09:06:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-07-28 09:06:14 +0000
commite504bf303ee07a1b40aeccadcf5c38ea45e234c6 (patch)
treec01d91238db587109195af39ca88a47f931aed17
parent07144dd43556f288f064cf5c7ed8e046649ab733 (diff)
texk/dvipdfm-x: Avoid once again compiler warnings (compare r34711)
git-svn-id: svn://tug.org/texlive/trunk@34751 c570f23f-e606-0410-a88d-b1316a301751
-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;