summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorblueswir12008-10-05 12:49:32 +0200
committerblueswir12008-10-05 12:49:32 +0200
commit8e853dc78094cb7ebf13b154f2a6f0785e44c874 (patch)
tree1e7b67dcfc7d8db9619d4628af239b8575f9e9ca /linux-user/syscall.c
parentMove wav_start_capture prototype to avoid a warning with -Wmissing-prototypes (diff)
downloadqemu-8e853dc78094cb7ebf13b154f2a6f0785e44c874.tar.gz
qemu-8e853dc78094cb7ebf13b154f2a6f0785e44c874.tar.xz
qemu-8e853dc78094cb7ebf13b154f2a6f0785e44c874.zip
Make struct_termios_def const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5424 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 6056a52a55..f7cfea64bd 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2398,7 +2398,7 @@ static void host_to_target_termios (void *dst, const void *src)
target->c_cc[TARGET_VEOL2] = host->c_cc[VEOL2];
}
-StructEntry struct_termios_def = {
+static const StructEntry struct_termios_def = {
.convert = { host_to_target_termios, target_to_host_termios },
.size = { sizeof(struct target_termios), sizeof(struct host_termios) },
.align = { __alignof__(struct target_termios), __alignof__(struct host_termios) },