summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/pdf
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-04-13 06:12:45 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-04-13 06:12:45 +0000
commitf5f40c67a09cef7d4ab7a8a65c12a261b0bf0206 (patch)
treecdb6b938c53bfd53bf805e44ed3b3dd4d59d90ef /Build/source/texk/web2c/luatexdir/pdf
parent7de2289e693d3fd86402207517568f99511aa916 (diff)
luatex build fixes and cleanup
git-svn-id: svn://tug.org/texlive/trunk@22068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf')
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfgen.w6
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfluaapi.w2
2 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
index fc25df199e7..b9ef95b5e0a 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
@@ -116,7 +116,7 @@ PDF init_pdf_struct(PDF pdf)
}
@ @c
-static void pdf_shipout_begin()
+static void pdf_shipout_begin(void)
{
pos_stack_used = 0; /* start with empty stack */
@@ -125,7 +125,7 @@ static void pdf_shipout_begin()
}
}
-static void pdf_shipout_end()
+static void pdf_shipout_end(void)
{
if (pos_stack_used > 0) {
pdftex_fail("%u unmatched \\pdfsave after %s shipout",
@@ -162,7 +162,7 @@ int pdf_get_mem(PDF pdf, int s)
@ |get_o_mode| translates from |pdf_output| to |o_mode|.
@c
-static output_mode get_o_mode()
+static output_mode get_o_mode(void)
{
output_mode o_mode;
if (pdf_output > 0) {
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfluaapi.w b/Build/source/texk/web2c/luatexdir/pdf/pdfluaapi.w
index c434241f3de..c07c3ce9929 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdfluaapi.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdfluaapi.w
@@ -29,7 +29,7 @@ int new_pdflua(void)
{
int i, err;
Byte *uncompr;
- zlib_struct *zp = (zlib_struct *) pdflua_zlib_struct_ptr;
+ const zlib_struct *zp = pdflua_zlib_struct_ptr;
uLong uncomprLen = zp->uncomprLen;
if ((uncompr = xtalloc(zp->uncomprLen, Byte)) == NULL)
pdftex_fail("new_pdflua(): xtalloc()");