svn commit: r200628 - head/usr.bin/calendar
Ralf S. Engelschall
rse at FreeBSD.org
Thu Dec 17 08:42:45 UTC 2009
Author: rse
Date: Thu Dec 17 08:42:44 2009
New Revision: 200628
URL: http://svn.freebsd.org/changeset/base/200628
Log:
rewind(3) is already declared to return 'void', so no need for an explicit cast
Modified:
head/usr.bin/calendar/io.c
Modified: head/usr.bin/calendar/io.c
==============================================================================
--- head/usr.bin/calendar/io.c Thu Dec 17 08:41:06 2009 (r200627)
+++ head/usr.bin/calendar/io.c Thu Dec 17 08:42:44 2009 (r200628)
@@ -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)
More information about the svn-src-all
mailing list