diff options
author | rse <rse@FreeBSD.org> | 2009-12-17 08:42:44 +0000 |
---|---|---|
committer | rse <rse@FreeBSD.org> | 2009-12-17 08:42:44 +0000 |
commit | 22655be88e317bfdb265d82dd80821e1464ad936 (patch) | |
tree | 080472aa454c005d66a8310adcab1ba833592cc2 /usr.bin | |
parent | 803dcdc8369cbf5cf90c7526f42809086cb484bb (diff) | |
download | FreeBSD-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.c | 2 |
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) |