Cleanup. Kill a few netbsd32_caddr_t in syscalls argument types.

This commit is contained in:
njoly 2009-01-30 13:01:36 +00:00
parent a38fd8e41a
commit b5ae97a41a
3 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_compat_12.c,v 1.31 2008/05/29 14:51:26 mrg Exp $ */
/* $NetBSD: netbsd32_compat_12.c,v 1.32 2009/01/30 13:01:36 njoly Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_12.c,v 1.31 2008/05/29 14:51:26 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_12.c,v 1.32 2009/01/30 13:01:36 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -94,7 +94,7 @@ int
compat_12_netbsd32_msync(struct lwp *l, const struct compat_12_netbsd32_msync_args *uap, register_t *retval)
{
/* {
syscallarg(netbsd32_caddr_t) addr;
syscallarg(netbsd32_voidp) addr;
syscallarg(netbsd32_size_t) len;
} */
struct sys___msync13_args ua;

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_compat_43.c,v 1.50 2008/05/29 14:51:26 mrg Exp $ */
/* $NetBSD: netbsd32_compat_43.c,v 1.51 2009/01/30 13:01:36 njoly Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_43.c,v 1.50 2008/05/29 14:51:26 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_43.c,v 1.51 2009/01/30 13:01:36 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -343,7 +343,7 @@ int
compat_43_netbsd32_ommap(struct lwp *l, const struct compat_43_netbsd32_ommap_args *uap, register_t *retval)
{
/* {
syscallarg(netbsd32_caddr_t) addr;
syscallarg(netbsd32_voidp) addr;
syscallarg(netbsd32_size_t) len;
syscallarg(int) prot;
syscallarg(int) flags;
@ -367,7 +367,7 @@ compat_43_netbsd32_oaccept(struct lwp *l, const struct compat_43_netbsd32_oaccep
{
/* {
syscallarg(int) s;
syscallarg(netbsd32_caddr_t) name;
syscallarg(netbsd32_voidp) name;
syscallarg(netbsd32_intp) anamelen;
} */
struct compat_43_sys_accept_args ua;
@ -383,7 +383,7 @@ compat_43_netbsd32_osend(struct lwp *l, const struct compat_43_netbsd32_osend_ar
{
/* {
syscallarg(int) s;
syscallarg(netbsd32_caddr_t) buf;
syscallarg(netbsd32_voidp) buf;
syscallarg(int) len;
syscallarg(int) flags;
} */
@ -401,7 +401,7 @@ compat_43_netbsd32_orecv(struct lwp *l, const struct compat_43_netbsd32_orecv_ar
{
/* {
syscallarg(int) s;
syscallarg(netbsd32_caddr_t) buf;
syscallarg(netbsd32_voidp) buf;
syscallarg(int) len;
syscallarg(int) flags;
} */
@ -502,7 +502,7 @@ compat_43_netbsd32_osendmsg(struct lwp *l, const struct compat_43_netbsd32_osend
{
/* {
syscallarg(int) s;
syscallarg(netbsd32_caddr_t) msg;
syscallarg(netbsd32_voidp) msg;
syscallarg(int) flags;
} */
struct iovec *iov, aiov[UIO_SMALLIOV];
@ -558,10 +558,10 @@ compat_43_netbsd32_orecvfrom(struct lwp *l, const struct compat_43_netbsd32_orec
{
/* {
syscallarg(int) s;
syscallarg(netbsd32_caddr_t) buf;
syscallarg(netbsd32_voidp) buf;
syscallarg(netbsd32_size_t) len;
syscallarg(int) flags;
syscallarg(netbsd32_caddr_t) from;
syscallarg(netbsd32_voidp) from;
syscallarg(netbsd32_intp) fromlenaddr;
} */
struct compat_43_sys_recvfrom_args ua;
@ -580,7 +580,7 @@ compat_43_netbsd32_ogetsockname(struct lwp *l, const struct compat_43_netbsd32_o
{
/* {
syscallarg(int) fdec;
syscallarg(netbsd32_caddr_t) asa;
syscallarg(netbsd32_voidp) asa;
syscallarg(netbsd32_intp) alen;
} */
struct compat_43_sys_getsockname_args ua;
@ -596,7 +596,7 @@ compat_43_netbsd32_ogetpeername(struct lwp *l, const struct compat_43_netbsd32_o
{
/* {
syscallarg(int) fdes;
syscallarg(netbsd32_caddr_t) asa;
syscallarg(netbsd32_voidp) asa;
syscallarg(netbsd32_intp) alen;
} */
struct compat_43_sys_getpeername_args ua;

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_netbsd.c,v 1.153 2009/01/21 10:01:42 tron Exp $ */
/* $NetBSD: netbsd32_netbsd.c,v 1.154 2009/01/30 13:01:36 njoly Exp $ */
/*
* Copyright (c) 1998, 2001, 2008 Matthew R. Green
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.153 2009/01/21 10:01:42 tron Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.154 2009/01/30 13:01:36 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ddb.h"
@ -429,7 +429,7 @@ netbsd32_ptrace(struct lwp *l, const struct netbsd32_ptrace_args *uap, register_
/* {
syscallarg(int) req;
syscallarg(pid_t) pid;
syscallarg(netbsd32_caddr_t) addr;
syscallarg(netbsd32_voidp) addr;
syscallarg(int) data;
} */
struct sys_ptrace_args ua;
@ -583,7 +583,7 @@ int
netbsd32_profil(struct lwp *l, const struct netbsd32_profil_args *uap, register_t *retval)
{
/* {
syscallarg(netbsd32_caddr_t) samples;
syscallarg(netbsd32_voidp) samples;
syscallarg(netbsd32_size_t) size;
syscallarg(netbsd32_u_long) offset;
syscallarg(u_int) scale;
@ -812,7 +812,7 @@ int
netbsd32_mincore(struct lwp *l, const struct netbsd32_mincore_args *uap, register_t *retval)
{
/* {
syscallarg(netbsd32_caddr_t) addr;
syscallarg(netbsd32_voidp) addr;
syscallarg(netbsd32_size_t) len;
syscallarg(netbsd32_charp) vec;
} */
@ -1213,7 +1213,7 @@ netbsd32_quotactl(struct lwp *l, const struct netbsd32_quotactl_args *uap, regis
syscallarg(const netbsd32_charp) path;
syscallarg(int) cmd;
syscallarg(int) uid;
syscallarg(netbsd32_caddr_t) arg;
syscallarg(netbsd32_voidp) arg;
} */
struct sys_quotactl_args ua;
@ -2305,7 +2305,7 @@ int
netbsd32_rasctl(struct lwp *l, const struct netbsd32_rasctl_args *uap, register_t *retval)
{
/* {
syscallarg(netbsd32_caddr_t) addr;
syscallarg(netbsd32_voidp) addr;
syscallarg(netbsd32_size_t) len;
syscallarg(int) op;
} */