From 0c6940d086f39bbf725d96104abe46da87429cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Date: Mon, 1 Feb 2016 19:38:47 +0100 Subject: build: [bsd-user] Rename "syscall.h" to "target_syscall.h" in target directories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes double-definitions in bsd-user builds when using the UST tracing backend (which indirectly includes the system's "syscall.h"). Signed-off-by: LluĂ­s Vilanova Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- bsd-user/sparc/syscall.h | 9 --------- bsd-user/sparc/target_syscall.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 bsd-user/sparc/syscall.h create mode 100644 bsd-user/sparc/target_syscall.h (limited to 'bsd-user/sparc') diff --git a/bsd-user/sparc/syscall.h b/bsd-user/sparc/syscall.h deleted file mode 100644 index 5a9bb7e546..0000000000 --- a/bsd-user/sparc/syscall.h +++ /dev/null @@ -1,9 +0,0 @@ -struct target_pt_regs { - abi_ulong psr; - abi_ulong pc; - abi_ulong npc; - abi_ulong y; - abi_ulong u_regs[16]; -}; - -#define UNAME_MACHINE "sun4" diff --git a/bsd-user/sparc/target_syscall.h b/bsd-user/sparc/target_syscall.h new file mode 100644 index 0000000000..c7eec6ba60 --- /dev/null +++ b/bsd-user/sparc/target_syscall.h @@ -0,0 +1,14 @@ +#ifndef TARGET_SYSCALL_H +#define TARGET_SYSCALL_H + +struct target_pt_regs { + abi_ulong psr; + abi_ulong pc; + abi_ulong npc; + abi_ulong y; + abi_ulong u_regs[16]; +}; + +#define UNAME_MACHINE "sun4" + +#endif /* TARGET_SYSCALL_H */ -- cgit v1.2.1