summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/font
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-01-27 08:50:35 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-01-27 08:50:35 +0000
commitaf35f0e080afc5bac3c27332e982c87792baf38f (patch)
treefa2ab41429c327d1645c79ff79b134b94394e548 /Build/source/texk/web2c/luatexdir/font
parent00434bca559ac03180c0a6c8cff2888d279a69d2 (diff)
texk/web2c/luatexdir: externs and more compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@16842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font')
-rw-r--r--Build/source/texk/web2c/luatexdir/font/writecff.c4
-rw-r--r--Build/source/texk/web2c/luatexdir/font/writetype2.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/writecff.c b/Build/source/texk/web2c/luatexdir/font/writecff.c
index 98b8a8bc9d5..82b52d96d7c 100644
--- a/Build/source/texk/web2c/luatexdir/font/writecff.c
+++ b/Build/source/texk/web2c/luatexdir/font/writecff.c
@@ -3389,7 +3389,7 @@ void write_cid_cff(cff_font * cffont, fd_entry * fd)
* I have defined a utility function in luafflib.c that does exactly that.
* If it works out ok, I will clean up this code.
*/
-extern int ff_createcff(char *, unsigned char **, integer *); /* libs/luafontforge/src/luafflib.c */
+#include <luafontloader/src/luafflib.h>
void writetype1w(fd_entry * fd)
{
@@ -3398,7 +3398,7 @@ void writetype1w(fd_entry * fd)
FILE *fp;
ff_entry *ff;
unsigned char *tfm_buffer = NULL;
- integer tfm_size = 0;
+ int tfm_size = 0;
ff = check_ff_exist(fd->fm->ff_name, 0);
diff --git a/Build/source/texk/web2c/luatexdir/font/writetype2.c b/Build/source/texk/web2c/luatexdir/font/writetype2.c
index 2b5a9894875..4d187b59a83 100644
--- a/Build/source/texk/web2c/luatexdir/font/writetype2.c
+++ b/Build/source/texk/web2c/luatexdir/font/writetype2.c
@@ -269,7 +269,7 @@ static unsigned long ttc_read_offset(sfnt * sfont, int ttc_idx)
return offset;
}
-extern int ff_get_ttc_index(char *ffname, char *psname); /* libs/luafontforge/src/luafflib.c */
+#include <luafontloader/src/luafflib.h>
void make_tt_subset(fd_entry * fd, unsigned char *buffer, integer buflen)
{