diff options
author | Thomas Huth <thuth@redhat.com> | 2022-03-30 15:43:02 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-03-31 21:27:02 +0200 |
commit | b1f4b9b83269e614b0e68203e92ccbde958ddde2 (patch) | |
tree | 457f615235808ae37e8b7c0dc9cb68ab5fca7236 /cpu.c | |
parent | cace6c6f3aca7b88afc42995f90bbefb37a0ed57 (diff) | |
download | qemu-b1f4b9b83269e614b0e68203e92ccbde958ddde2.zip qemu-b1f4b9b83269e614b0e68203e92ccbde958ddde2.tar.gz qemu-b1f4b9b83269e614b0e68203e92ccbde958ddde2.tar.bz2 |
linux-user/sh4/termbits: Silence warning about TIOCSER_TEMT double definition
Seen while compiling on Alpine:
In file included from ../linux-user/strace.c:17:
In file included from ../linux-user/qemu.h:11:
In file included from ../linux-user/syscall_defs.h:1247:
../linux-user/sh4/termbits.h:276:10: warning: 'TIOCSER_TEMT' macro redefined
[-Wmacro-redefined]
# define TIOCSER_TEMT 0x01 /* Transmitter physically empty */
^
/usr/include/sys/ioctl.h:50:9: note: previous definition is here
#define TIOCSER_TEMT 1
^
1 warning generated.
Add the TARGET_ prefix here, too, like we do it on the other architectures.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Message-Id: <20220330134302.979686-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions