mirror of https://gitee.com/openkylin/qemu.git
fix function signature of qemu_chr_open_pty on !linux
Signed-off-By: Riku Voipio <riku.voipio@nokia.com> Signed-off-By: Juha Riihimäki <juha.riihimaki@nokia.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
efc0a51434
commit
cb301efe4f
|
@ -1220,7 +1220,7 @@ static CharDriverState *qemu_chr_open_tty(QemuOpts *opts)
|
|||
return chr;
|
||||
}
|
||||
#else /* ! __linux__ && ! __sun__ */
|
||||
static CharDriverState *qemu_chr_open_pty(void)
|
||||
static CharDriverState *qemu_chr_open_pty(QemuOpts *opts)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue