]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the outdated casts to "char *" from the setsockopt(2),
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Wed, 24 Jul 2002 15:30:53 +0000 (15:30 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Wed, 24 Jul 2002 15:30:53 +0000 (15:30 +0000)
commit57d4ef078ccef54bef901cd47606e18458398199
tree2a890d348b2ecc6e6d00afa6dff8c614c65dd791
parent4151d2e6201be60ad6fc81861855c0a876684e55
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