mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Make struct_termios_def const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5424 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
295e390fff
commit
8e853dc780
3 changed files with 5 additions and 3 deletions
|
@ -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) },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue