diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-28 10:09:46 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-28 10:09:46 +0000 |
commit | 2c71c9d92117f7f1fe0d5bd6fe74922e50be0c86 (patch) | |
tree | 6581f8e2c781693a75e6eabb32df88f8299fe1a2 /Build/source/texk/mendexk/mendex.h | |
parent | bb3913a1553c1213f93e6f10185f770cde5ae901 (diff) |
mendexk: Use Nelson Beebe's qqsort() instead of qsort()
Handle input files with Dos/Windows (CRLF) line endings (from W32TeX)
Always use KPATHSEA. Use xmalloc() and xstrdup()
git-svn-id: svn://tug.org/texlive/trunk@27216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/mendex.h')
-rw-r--r-- | Build/source/texk/mendexk/mendex.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Build/source/texk/mendexk/mendex.h b/Build/source/texk/mendexk/mendex.h index f8a48758cb0..c071733b482 100644 --- a/Build/source/texk/mendexk/mendex.h +++ b/Build/source/texk/mendexk/mendex.h @@ -41,23 +41,19 @@ int chkcontinue(struct page *p, int num); void styread(const char *filename); /* fread.c */ -char *mfgets(char *buf, int byte, FILE *fp); +char *mfgets(char *buf, int size, FILE *fp); int idxread(char *filename, int start); /* fwrite.c */ int fprintf2 (FILE *fp, const char *format, ...); -int warn_printf(FILE *fp, const char *format, ...); -int verb_printf(FILE *fp, const char *format, ...); +void warn_printf(FILE *fp, const char *format, ...); +void verb_printf(FILE *fp, const char *format, ...); struct index; void indwrite(char *filename, struct index *ind, int pagenum); -#ifdef fprintf #undef fprintf -#endif #define fprintf fprintf2 -#ifdef fputs #undef fputs -#endif #define fputs fputs2 |