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:
Riku Voipio 2010-03-26 16:06:35 +00:00 committed by Aurelien Jarno
parent efc0a51434
commit cb301efe4f

View File

@ -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;
}