diff options
author | hsu <hsu@FreeBSD.org> | 1995-06-20 18:31:16 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 1995-06-20 18:31:16 +0000 |
commit | 969b12486948ceb40c08cb8c0bb5f82eea575815 (patch) | |
tree | c27ed1ee6761e595f55818a3f3833ad3766d6c61 /lib/libc/gen/getttyent.c | |
parent | 139fc3d88057ba3966cd402699b386ceaa06bba7 (diff) | |
download | FreeBSD-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.c | 2 |
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); |