diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-25 12:30:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-25 12:30:04 +0000 |
commit | 65c37b17f39210ff32ba3ec1415d5f5a3f8e86ff (patch) | |
tree | a23710d061b8695f9eec30cbf5591e6016432089 /Build/source/texk/web2c/luatexdir/luatex.h | |
parent | a6ff9d2b253991c7c8eb94f2977abb10ad466480 (diff) |
texk/web2c/luatexdir: compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@16817 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luatex.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.h b/Build/source/texk/web2c/luatexdir/luatex.h index 2ee976b478e..0d2d84eb8da 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.h +++ b/Build/source/texk/web2c/luatexdir/luatex.h @@ -32,12 +32,12 @@ extern int readbinfile(FILE * f, unsigned char **b, integer * s); extern int **ocp_tables; -extern void allocate_ocp_table(); -extern void dump_ocp_table(); -extern void undump_ocp_table(); +extern void allocate_ocp_table(int ocp_number, int ocp_size); +extern void dump_ocp_table(int ocp_number); +extern void undump_ocp_table(int ocp_number); -extern void run_external_ocp(); -extern void b_test_in(); +extern void run_external_ocp(string external_ocp_name); +extern void b_test_in(void); /* Additions to texmfmp.h for pdfTeX */ @@ -59,10 +59,10 @@ extern void b_test_in(); #define vf_b_open_in(f) \ open_input (&(f), kpse_vf_format, FOPEN_RBIN_MODE) -extern int open_outfile(FILE ** f, char *name, char *mode); +extern int open_outfile(FILE ** f, const char *name, const char *mode); -#define do_a_open_out(f) open_outfile(&(f),(char *)(nameoffile+1),FOPEN_W_MODE) -#define do_b_open_out(f) open_outfile(&(f),(char *)(nameoffile+1),FOPEN_WBIN_MODE) +#define do_a_open_out(f) open_outfile(&(f),(const char *)(nameoffile+1),FOPEN_W_MODE) +#define do_b_open_out(f) open_outfile(&(f),(const char *)(nameoffile+1),FOPEN_WBIN_MODE) #define pdfassert assert #define voidcast(a) (void *)(a) |