summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/scanpage.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-10 00:58:37 +0000
committerKarl Berry <karl@freefriends.org>2010-05-10 00:58:37 +0000
commit59bb55528c277eecb879be61afc11eec0e65dd08 (patch)
tree6773d939ddd4a3290376ae2c1e945f0d73204eee /Build/source/texk/dvipsk/scanpage.c
parente3216395f89dca4ac988ded326a8d1d6a05a6cdb (diff)
remove useless casts to void
git-svn-id: svn://tug.org/texlive/trunk@18177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/scanpage.c')
-rw-r--r--Build/source/texk/dvipsk/scanpage.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/dvipsk/scanpage.c b/Build/source/texk/dvipsk/scanpage.c
index 38e6a897b1b..63e6494f53c 100644
--- a/Build/source/texk/dvipsk/scanpage.c
+++ b/Build/source/texk/dvipsk/scanpage.c
@@ -121,9 +121,9 @@ scanpage(void)
#ifdef DEBUG
if (dd(D_PAGE))
#ifdef SHORTINT
- (void)fprintf(stderr,"Scanning page %ld\n", pagenum);
+ fprintf(stderr,"Scanning page %ld\n", pagenum);
#else /* ~SHORTINT */
- (void)fprintf(stderr,"Scanning page %d\n", pagenum);
+ fprintf(stderr,"Scanning page %d\n", pagenum);
#endif /* ~SHORTINT */
#endif /* DEBUG */
curfnt = NULL;
@@ -142,7 +142,7 @@ case 255: /* pTeX's dir or undefined */
case 131: case 136: case 139: /* set4, put4, bop */
case 247: case 248: case 249: /* pre, post, post_post */
case 250: case 251: case 252: case 253: case 254: /* undefined */
- (void)sprintf(errbuf,
+ sprintf(errbuf,
"! DVI file contains unexpected command (%d)",cmd);
error(errbuf);
case 132: case 137: /* eight-byte commands setrule, putrule */
@@ -167,7 +167,7 @@ case 138: case 141: case 142: /* nop, push, pop */
break;
case 130: case 135: /* set3, put3 */
if (noptex) {
- (void)sprintf(errbuf,
+ sprintf(errbuf,
"! DVI file contains unexpected pTeX command (%d)",cmd);
error(errbuf);
}
@@ -176,7 +176,7 @@ case 130: case 135: /* set3, put3 */
goto dochar;
case 129: case 134: /* set2, put2 */
if (noomega) {
- (void)sprintf(errbuf,
+ sprintf(errbuf,
"! DVI file contains unexpected Omega command (%d)",cmd);
error(errbuf);
}
@@ -193,7 +193,7 @@ dochar:
if (curfnt==NULL)
error("! Bad DVI file: no font selected");
if (mychar>=curfnt->maxchars) {
- (void)sprintf(errbuf,"! invalid char %d from font %s", mychar, curfnt->name);
+ sprintf(errbuf,"! invalid char %d from font %s", mychar, curfnt->name);
error(errbuf);
}
if (curfnt->loaded == 2) { /* scanning a virtual font character */
@@ -269,9 +269,9 @@ endofpage:
return(0);
} /* IBM: color */
#ifdef SHORTINT
- (void)fprintf(stderr, "Page %ld may be too complex to print\n", pagenum);
+ fprintf(stderr, "Page %ld may be too complex to print\n", pagenum);
#else /* ~SHORTINT */
- (void)fprintf(stderr, "Page %d may be too complex to print\n", pagenum);
+ fprintf(stderr, "Page %d may be too complex to print\n", pagenum);
#endif /* ~SHORTINT */
/*
* This case should be rare indeed. Even with only 200K of virtual memory,