summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/dviconcat.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/seetexk/dviconcat.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/seetexk/dviconcat.c')
-rw-r--r--Build/source/texk/seetexk/dviconcat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/seetexk/dviconcat.c b/Build/source/texk/seetexk/dviconcat.c
index 9bc8ee112e0..45d3821b2ae 100644
--- a/Build/source/texk/seetexk/dviconcat.c
+++ b/Build/source/texk/seetexk/dviconcat.c
@@ -20,7 +20,7 @@
#else
#define FOPEN_RBIN_MODE "rb"
#define FOPEN_RBIN_MODE "wb"
-#define SET_BINARY(x) 0
+#define SET_BINARY(x) (void)0
extern char *optarg;
extern int optind;
#endif
@@ -414,7 +414,7 @@ usage:
if (outf == NULL) {
outf = stdout;
if (!isatty(fileno(outf)))
- (void)SET_BINARY(fileno(outf));
+ SET_BINARY(fileno(outf));
}
if ((FontFinder = SCreate(sizeof(struct fontinfo *))) == 0)
error(1, 0, "cannot create font finder (out of memory?)");
@@ -426,7 +426,7 @@ usage:
*/
if (optind >= argc) {
if (!isatty(fileno(stdin)))
- (void)SET_BINARY(fileno(stdin));
+ SET_BINARY(fileno(stdin));
doit("`stdin'", stdin);
}
else {
@@ -434,7 +434,7 @@ usage:
s = argv[c];
if (*s == '-' && s[1] == 0) {
if (!isatty(fileno(stdin)))
- (void)SET_BINARY(fileno(stdin));
+ SET_BINARY(fileno(stdin));
doit("`stdin'", stdin);
}
else if ((f = fopen(s, FOPEN_RBIN_MODE)) == NULL) {