diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfgen.w | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfluaapi.w | 2 |
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()"); |