summaryrefslogtreecommitdiff
path: root/Build/source/texk/dtl
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-11 08:39:25 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-05-11 08:39:25 +0000
commit0f0e478dba51669836f1a6f3078a27c64816f151 (patch)
treed3f9a8d7db1d8f63498811a1ce6af6b47d586d47 /Build/source/texk/dtl
parent4fd54ee7ff93817274972e2e2ed63c4c5c49cc76 (diff)
SET_BINARY and casts to void
git-svn-id: svn://tug.org/texlive/trunk@18196 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dtl')
-rw-r--r--Build/source/texk/dtl/ChangeLog4
-rw-r--r--Build/source/texk/dtl/dt2dv.c2
-rw-r--r--Build/source/texk/dtl/dv2dt.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/dtl/ChangeLog b/Build/source/texk/dtl/ChangeLog
index 86588af72a0..f6ee7d419df 100644
--- a/Build/source/texk/dtl/ChangeLog
+++ b/Build/source/texk/dtl/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-10 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dt2dv.c, dv2dt.c (SET_BINARY): Remove casts to void.
+
2010-02-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (AM_CPPFLAGS): Remove '-DNO_DEBUG' ...
diff --git a/Build/source/texk/dtl/dt2dv.c b/Build/source/texk/dtl/dt2dv.c
index 41761f39bc4..c52beef3a0c 100644
--- a/Build/source/texk/dtl/dt2dv.c
+++ b/Build/source/texk/dtl/dt2dv.c
@@ -471,7 +471,7 @@ Void dvi_stdout (VOID)
dvi_filename = "Standard Output";
++ nfile;
if (!isatty(fileno(dvi_fp)))
- (void)SET_BINARY(fileno(dvi_fp));
+ SET_BINARY(fileno(dvi_fp));
}
diff --git a/Build/source/texk/dtl/dv2dt.c b/Build/source/texk/dtl/dv2dt.c
index 7d7e6f23503..49d540b41f4 100644
--- a/Build/source/texk/dtl/dv2dt.c
+++ b/Build/source/texk/dtl/dv2dt.c
@@ -172,7 +172,7 @@ main
if (argc > 1)
open_dvi (argv[1], &dvi);
else if (!isatty(fileno(dvi)))
- (void)SET_BINARY(fileno(dvi));
+ SET_BINARY(fileno(dvi));
if (argc > 2)
open_dtl (argv[2], &dtl);