]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the outdated casts to "char *" from the setsockopt(2),
authoryar <yar@FreeBSD.org>
Wed, 24 Jul 2002 15:30:53 +0000 (15:30 +0000)
committeryar <yar@FreeBSD.org>
Wed, 24 Jul 2002 15:30:53 +0000 (15:30 +0000)
commitb55ffaf6bb3289d5275dd34729e2e4507abbb2a1
tree2a890d348b2ecc6e6d00afa6dff8c614c65dd791
parentffebbf61bcbfe9454ef61afb4985012a73ad52e0
Remove the outdated casts to "char *" from the setsockopt(2),
write(2), and getipnodebyaddr(3) calls.  Now all the above functions
accept "void *" in that arguments and have prototypes.  Thus, the
casts are useless under the normal circumstances (and would be harmful
if the functions had no prototypes.)

MFC after: 2 weeks
libexec/ftpd/ftpd.c
libexec/ftpd/logwtmp.c