rewind(3) is already declared to return 'void', so no need for an explicit cast

This commit is contained in:
rse 2009-12-17 08:42:44 +00:00
parent 803dcdc836
commit 22655be88e

View File

@ -467,7 +467,7 @@ closecal(FILE *fp)
if (!doall)
return;
(void)rewind(fp);
rewind(fp);
if (fstat(fileno(fp), &sbuf) || !sbuf.st_size)
goto done;
if (pipe(pdes) < 0)