[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/15] linux-user: Use abi_short not short in syscall_defs.h
From: |
Richard Henderson |
Subject: |
[PATCH 12/15] linux-user: Use abi_short not short in syscall_defs.h |
Date: |
Sat, 3 Jun 2023 15:23:52 -0700 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
linux-user/syscall_defs.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 21ca03b0f4..9dc41828cf 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -702,8 +702,8 @@ typedef struct target_siginfo {
struct target_pollfd {
abi_int fd; /* file descriptor */
- short events; /* requested events */
- short revents; /* returned events */
+ abi_short events; /* requested events */
+ abi_short revents; /* returned events */
};
/* virtual terminal ioctls */
@@ -1480,7 +1480,7 @@ struct target_stat {
abi_ushort st_dev;
abi_ulong st_ino;
abi_ushort st_mode;
- short st_nlink;
+ abi_short st_nlink;
abi_ushort st_uid;
abi_ushort st_gid;
abi_ushort st_rdev;
--
2.34.1
- [PATCH 07/15] linux-user: Use abi_uint not unsigned int in syscall_defs.h, (continued)
- [PATCH 07/15] linux-user: Use abi_uint not unsigned int in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 09/15] linux-user: Use abi_llong not long long in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 05/15] linux-user: Use abi_ullong not uint64_t in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 10/15] linux-user: Use abi_int not int in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 11/15] linux-user: Use abi_ushort not unsigned short in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 13/15] linux-user: Use abi_uint not unsigned in syscall_defs.h, Richard Henderson, 2023/06/03
- [PATCH 12/15] linux-user: Use abi_short not short in syscall_defs.h,
Richard Henderson <=
- [PATCH 14/15] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze, Richard Henderson, 2023/06/03
- [PATCH 15/15] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2, Richard Henderson, 2023/06/03