freebsd32: Provide an ANSI definition for freebsd32_recvmsg()

Fix style in the freebsd32_sendmsg() definition.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-09-19 13:41:43 -04:00
parent 97c31821eb
commit 4bda16ff18

View File

@ -1411,13 +1411,7 @@ freebsd32_copy_msg_out(struct msghdr *msg, struct mbuf *control)
}
int
freebsd32_recvmsg(td, uap)
struct thread *td;
struct freebsd32_recvmsg_args /* {
int s;
struct msghdr32 *msg;
int flags;
} */ *uap;
freebsd32_recvmsg(struct thread *td, struct freebsd32_recvmsg_args *uap)
{
struct msghdr msg;
struct msghdr32 m32;
@ -1562,8 +1556,7 @@ freebsd32_copyin_control(struct mbuf **mp, caddr_t buf, u_int buflen)
}
int
freebsd32_sendmsg(struct thread *td,
struct freebsd32_sendmsg_args *uap)
freebsd32_sendmsg(struct thread *td, struct freebsd32_sendmsg_args *uap)
{
struct msghdr msg;
struct msghdr32 m32;