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

This commit is contained in:
Ralf S. Engelschall 2009-12-17 08:42:44 +00:00
parent 1e3249cb9b
commit a752c19301

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)