diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-10 04:32:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-10 04:32:42 +0000 |
commit | c37bc573e522ab7493f4f2cbadbb2ec98e21bec3 (patch) | |
tree | 549112cec97d5935f9e01a5f6990022d2fa08427 /sys | |
parent | 534ee941ac0d5b269591174b6da83ae3556feff9 (diff) |
recover from lint changes elsewhere, not completely tested
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index e44dd950242..4944a5d0fcd 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socket.c,v 1.10 1998/02/07 16:33:34 deraadt Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.11 1998/02/10 04:32:41 deraadt Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -173,7 +173,7 @@ linux_bind(p, uap, retval) return error; SCARG(&bba, s) = lba.s; - SCARG(&bba, name) = (caddr_t) lba.name; + SCARG(&bba, name) = (void *) lba.name; SCARG(&bba, namelen) = lba.namelen; return sys_bind(p, &bba, retval); @@ -197,7 +197,7 @@ linux_connect(p, uap, retval) return error; SCARG(&bca, s) = lca.s; - SCARG(&bca, name) = (caddr_t) lca.name; + SCARG(&bca, name) = (void *) lca.name; SCARG(&bca, namelen) = lca.namelen; error = sys_connect(p, &bca, retval); @@ -437,7 +437,7 @@ linux_sendto(p, uap, retval) SCARG(&bsa, buf) = lsa.msg; SCARG(&bsa, len) = lsa.len; SCARG(&bsa, flags) = lsa.flags; - SCARG(&bsa, to) = (caddr_t) lsa.to; + SCARG(&bsa, to) = (void *) lsa.to; SCARG(&bsa, tolen) = lsa.tolen; return sys_sendto(p, &bsa, retval); |