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
This commit is contained in:
Konstantin Belousov 2022-12-01 03:31:58 +02:00
parent 5b9b55fbc4
commit f081a291a1
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;