git: cf5d6ae3a1b1 - stable/13 - compat32: move struct ptrace_sc_ret32 definition from .c to .h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Jan 2023 03:23:40 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=cf5d6ae3a1b14b35d94da5544d273ad05a887a94 commit cf5d6ae3a1b14b35d94da5544d273ad05a887a94 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-12-01 01:31:58 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-01-20 03:20:29 +0000 compat32: move struct ptrace_sc_ret32 definition from .c to .h Tested by: pho (cherry picked from commit f081a291a17de0e28e5b7f5adba312f0dcb59b0f) --- 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 2e4f5155cbf4..8d5eae2817f3 100644 --- a/sys/compat/freebsd32/freebsd32.h +++ b/sys/compat/freebsd32/freebsd32.h @@ -429,6 +429,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 14f2e2a4b752..269286ab90dc 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -130,11 +130,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;