Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linux-user: Use abi_short not short in syscall_defs.h
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Jul 15, 2023
1 parent 77e935f commit 20d4956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linux-user/syscall_defs.h
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 20d4956

Please sign in to comment.