git: f081a291a17d - main - compat32: move struct ptrace_sc_ret32 definition from .c to .h

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 22 Dec 2022 22:10:51 UTC
The branch main has been updated by kib:

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

commit f081a291a17de0e28e5b7f5adba312f0dcb59b0f
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-12-01 01:31:58 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-12-22 21:11:35 +0000

    compat32: move struct ptrace_sc_ret32 definition from .c to .h
    
    Reviewed by:    markj
    Sponsoreed by:  The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D37590
---
 sys/compat/freebsd32/freebsd32.h      | 5 +++++
 sys/compat/freebsd32/freebsd32_misc.c | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index 96dce0d1afa4..91d95d7852b3 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -492,6 +492,11 @@ struct timex32 {
 	int32_t	stbcnt;
 };
 
+struct ptrace_sc_ret32 {
+	uint32_t	sr_retval[2];
+	int		sr_error;
+};
+
 struct ptrace_coredump32 {
 	int		pc_fd;
 	uint32_t	pc_flags;
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index df7380252ced..7537ff3e9dee 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -133,11 +133,6 @@ struct ptrace_io_desc32 {
 	uint32_t	piod_len;
 };
 
-struct ptrace_sc_ret32 {
-	uint32_t	sr_retval[2];
-	int		sr_error;
-};
-
 struct ptrace_vm_entry32 {
 	int		pve_entry;
 	int		pve_timestamp;