summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/output.c
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/dvipsk/output.c
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/dvipsk/output.c')
-rw-r--r--Build/source/texk/dvipsk/output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c
index 467066c62d3..c3aa22a435f 100644
--- a/Build/source/texk/dvipsk/output.c
+++ b/Build/source/texk/dvipsk/output.c
@@ -152,7 +152,7 @@ copyfile_general(const char *s, struct header_list *cur_header)
sprintf(errbuf, "Execution of <%s> failed ", s);
f = popen(s, "r");
if (f != 0)
- (void)SET_BINARY(fileno(f));
+ SET_BINARY(fileno(f));
}
else {
sprintf(errbuf,"Secure mode is %d so execute <%s> will not run", secure,s);
@@ -1310,7 +1310,7 @@ open_output(void) {
#endif
if (pf == NULL && (pf = popen(oname+1, "w")) != NULL) {
popened = 1;
- (void)SET_BINARY(fileno(pf));
+ SET_BINARY(fileno(pf));
}
if (pf == NULL)
error("! couldn't open output pipe");
@@ -1322,7 +1322,7 @@ open_output(void) {
} else {
if ((bitfile=fopen(oname,"w"))==NULL)
error("! couldn't open PostScript file");
- (void)SET_BINARY(fileno(bitfile));
+ SET_BINARY(fileno(bitfile));
}
} else {
bitfile = stdout;