summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2009-12-17 08:42:44 +0000
committerrse <rse@FreeBSD.org>2009-12-17 08:42:44 +0000
commit22655be88e317bfdb265d82dd80821e1464ad936 (patch)
tree080472aa454c005d66a8310adcab1ba833592cc2 /usr.bin
parent803dcdc8369cbf5cf90c7526f42809086cb484bb (diff)
downloadFreeBSD-src-22655be88e317bfdb265d82dd80821e1464ad936.zip
FreeBSD-src-22655be88e317bfdb265d82dd80821e1464ad936.tar.gz
rewind(3) is already declared to return 'void', so no need for an explicit cast
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/calendar/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c
index 92df7be..03f28fe 100644
--- a/usr.bin/calendar/io.c
+++ b/usr.bin/calendar/io.c
@@ -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)
OpenPOWER on IntegriCloud