From 827238668e7dc44e43e71a3e12b605881fe6887e Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Tue, 12 Dec 2023 11:27:18 +0100 Subject: exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tswapl() and bswaptls() are target-dependent and only used by user emulation. Move their definitions to a new header: "exec/user/tswap-target.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson Message-Id: <20231212123401.37493-17-philmd@linaro.org> Reviewed-by: Richard Henderson --- bsd-user/netbsd/target_os_elf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bsd-user/netbsd/target_os_elf.h') diff --git a/bsd-user/netbsd/target_os_elf.h b/bsd-user/netbsd/target_os_elf.h index 2f3cb20871..9de0f290c0 100644 --- a/bsd-user/netbsd/target_os_elf.h +++ b/bsd-user/netbsd/target_os_elf.h @@ -22,6 +22,7 @@ #include "target_arch_elf.h" #include "elf.h" +#include "user/tswap-target.h" /* this flag is uneffective under linux too, should be deleted */ #ifndef MAP_DENYWRITE -- cgit 1.4.1