summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getttyent.c
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>1995-06-20 18:31:16 +0000
committerhsu <hsu@FreeBSD.org>1995-06-20 18:31:16 +0000
commit969b12486948ceb40c08cb8c0bb5f82eea575815 (patch)
treec27ed1ee6761e595f55818a3f3833ad3766d6c61 /lib/libc/gen/getttyent.c
parent139fc3d88057ba3966cd402699b386ceaa06bba7 (diff)
downloadFreeBSD-src-969b12486948ceb40c08cb8c0bb5f82eea575815.zip
FreeBSD-src-969b12486948ceb40c08cb8c0bb5f82eea575815.tar.gz
Don't cast void functions to void.
Obtained from: NetBSD commit by jtc on June 16, 1995.
Diffstat (limited to 'lib/libc/gen/getttyent.c')
-rw-r--r--lib/libc/gen/getttyent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getttyent.c b/lib/libc/gen/getttyent.c
index f9b1e0d..83f97e8 100644
--- a/lib/libc/gen/getttyent.c
+++ b/lib/libc/gen/getttyent.c
@@ -178,7 +178,7 @@ setttyent()
{
if (tf) {
- (void)rewind(tf);
+ rewind(tf);
return (1);
} else if (tf = fopen(_PATH_TTYS, "r"))
return (1);
OpenPOWER on IntegriCloud