git: 4bda16ff184b - main - freebsd32: Provide an ANSI definition for freebsd32_recvmsg()

Mark Johnston markj at FreeBSD.org
Sun Sep 19 17:55:13 UTC 2021


The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=4bda16ff184bfca5ee4bf9709a06323d9cf5945b

commit 4bda16ff184bfca5ee4bf9709a06323d9cf5945b
Author:     Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-09-19 17:41:43 +0000
Commit:     Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-09-19 17:53:57 +0000

    freebsd32: Provide an ANSI definition for freebsd32_recvmsg()
    
    Fix style in the freebsd32_sendmsg() definition.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 sys/compat/freebsd32/freebsd32_misc.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index f4b1edb6c7b0..be942f9fafd3 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -1411,13 +1411,7 @@ exit:
 }
 
 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 @@ out:
 }
 
 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;


More information about the dev-commits-src-main mailing list