mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
vmstate: remove const from pre_save() functions
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
e59fb3741b
commit
d4bfa4d7c6
5 changed files with 10 additions and 10 deletions
|
@ -635,9 +635,9 @@ static void serial_event(void *opaque, int event)
|
|||
serial_receive_break(s);
|
||||
}
|
||||
|
||||
static void serial_pre_save(const void *opaque)
|
||||
static void serial_pre_save(void *opaque)
|
||||
{
|
||||
SerialState *s = (void *)opaque;
|
||||
SerialState *s = opaque;
|
||||
s->fcr_vmstate = s->fcr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue