diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-23 16:14:03 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-23 16:14:03 +0000 |
commit | 8ee4ce87e030dd4e217f99e924233dbbf393e049 (patch) | |
tree | a4fc2a004c2e92bdbba8d57a192ef96c0a434ef1 /Build/source/texk/dvi2tty | |
parent | b243861dbff7f1514485d8f4df1770c4aba31a4a (diff) |
build system fixes, mostly for mingw32 cross and win32
git-svn-id: svn://tug.org/texlive/trunk@17166 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvi2tty')
-rw-r--r-- | Build/source/texk/dvi2tty/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvi2tty/dvi2tty.c | 2 | ||||
-rw-r--r-- | Build/source/texk/dvi2tty/dvi2tty.h | 8 |
3 files changed, 6 insertions, 9 deletions
diff --git a/Build/source/texk/dvi2tty/ChangeLog b/Build/source/texk/dvi2tty/ChangeLog index e5c84b44fda..3aedae95cfa 100644 --- a/Build/source/texk/dvi2tty/ChangeLog +++ b/Build/source/texk/dvi2tty/ChangeLog @@ -1,3 +1,8 @@ +2010-02-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dvi2tty.c (readable_file) [WIN32]: Remove unused variable err. + * dvi2tty.h: Remove pre-ANSI C prototypes. + 2010-02-12 Peter Breitenlohner <peb@mppmu.mpg.de> * disdvi.c, dvi2tty.h: #define NO_DEBUG as 1, to avoid warning. diff --git a/Build/source/texk/dvi2tty/dvi2tty.c b/Build/source/texk/dvi2tty/dvi2tty.c index 738c1159eb8..ede91b9e637 100644 --- a/Build/source/texk/dvi2tty/dvi2tty.c +++ b/Build/source/texk/dvi2tty/dvi2tty.c @@ -481,7 +481,7 @@ readable_file(char *name) char *ret; #ifdef WIN32 - unsigned int fa, err; + unsigned int fa; fa = GetFileAttributes(name); if (fa == 0xFFFFFFFF) { diff --git a/Build/source/texk/dvi2tty/dvi2tty.h b/Build/source/texk/dvi2tty/dvi2tty.h index 19225a823d3..0dae38fce63 100644 --- a/Build/source/texk/dvi2tty/dvi2tty.h +++ b/Build/source/texk/dvi2tty/dvi2tty.h @@ -85,15 +85,7 @@ extern FILE *output; /* output file (dvi2tty.c) */ /*---------------------------------------------------------------------------*/ /* dvi2tty.c */ -#if defined(KPATHSEA) || defined(MSDOS) void errorexit(int); -#else -void errorexit(); -#endif /* dvistuff.c */ -#if defined(KPATHSEA) || defined(MSDOS) void dvimain(void); -#else -void dvimain(); -#endif |