diff --git a/source/texk/ptexenc/ptexenc.c b/source/texk/ptexenc/ptexenc.c index d77f5adb7..461565d2c 100644 --- a/source/texk/ptexenc/ptexenc.c +++ b/source/texk/ptexenc/ptexenc.c @@ -1150,7 +1150,7 @@ void clear_infile_enc(FILE *fp) { infile_enc[fileno(fp)] = ENC_UNKNOWN; } -long ptencconvfirstline(long pos, long last, unsigned char *buff, const long buffsize) +long ptenc_conv_first_line(long pos, long last, unsigned char *buff, const long buffsize) { return last; } @@ -1365,7 +1365,7 @@ int ptenc_get_command_line_args(int *p_ac, char ***p_av) return 0; } -long ptencconvfirstline(long pos, long last, unsigned char *buff, const long buffsize) +long ptenc_conv_first_line(long pos, long last, unsigned char *buff, const long buffsize) /* return new last */ { unsigned char *old, *new_buf; long new_last, i; diff --git a/source/texk/ptexenc/ptexenc/ptexenc.h b/source/texk/ptexenc/ptexenc/ptexenc.h index 0c9fbafdc..f3c8ff174 100644 --- a/source/texk/ptexenc/ptexenc/ptexenc.h +++ b/source/texk/ptexenc/ptexenc/ptexenc.h @@ -112,6 +112,6 @@ extern PTENCDLL unsigned char *ptenc_from_utf8_string_to_internal_enc(const unsi extern PTENCDLL unsigned char *ptenc_from_internal_enc_string_to_utf8(const unsigned char *is); extern PTENCDLL int ptenc_get_command_line_args(int *p_ac, char ***p_av); #endif -extern PTENCDLL long ptencconvfirstline(long pos, long limit, unsigned char *buff, const long buffsize); +extern PTENCDLL long ptenc_conv_first_line(long pos, long limit, unsigned char *buff, const long buffsize); #endif /* PTEXENC_PTEXENC_H */ diff --git a/source/texk/web2c/ptexdir/kanji.h b/source/texk/web2c/ptexdir/kanji.h index 91038154f..b1916cc2c 100644 --- a/source/texk/web2c/ptexdir/kanji.h +++ b/source/texk/web2c/ptexdir/kanji.h @@ -72,6 +72,7 @@ extern void init_default_kanji (const_string file_str, const_string internal_str #else #define inputline2(fp,buff,pos,size) input_line2(fp,buff,NULL,pos,size,NULL) #endif +#define ptencconvfirstline(pos,limit,buff,size) ptenc_conv_first_line(pos,limit,buff,size) extern void dump_kanji (gzFile fp); extern void undump_kanji (gzFile fp); diff --git a/source/texk/web2c/uptexdir/kanji.h b/source/texk/web2c/uptexdir/kanji.h index cbdd47f24..6109288af 100644 --- a/source/texk/web2c/uptexdir/kanji.h +++ b/source/texk/web2c/uptexdir/kanji.h @@ -66,6 +66,7 @@ extern void init_default_kanji_select (void); #else #define inputline2(fp,buff,pos,size) input_line2(fp,buff,NULL,pos,size,NULL) #endif +#define ptencconvfirstline(pos,limit,buff,size) ptenc_conv_first_line(pos,limit,buff,size) extern void init_kanji (const_string file_str, const_string internal_str); extern void dump_kanji (gzFile fp);