]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user: Use abi_short not short in syscall_defs.h
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Jun 2023 21:06:23 +0000 (14:06 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 15 Jul 2023 07:02:32 +0000 (08:02 +0100)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/syscall_defs.h

index 21ca03b0f454b99f0d42c0b06a4c5b9a1a33dd76..9dc41828cf8af7500b35c1b56e75844674ef3e91 100644 (file)
@@ -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;