summaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@nokia.com>2010-03-26 16:06:35 +0000
committerAurelien Jarno <aurelien@aurel32.net>2010-04-08 21:08:27 +0200
commitcb301efe4f511a3451ed58e13f673b02fb7f6159 (patch)
tree1004684feb469c6ea7f206b418d9f9480c3180ab /qemu-char.c
parentefc0a5143400cfd8b0f46bdec433bc4d946d9872 (diff)
downloadqemu-cb301efe4f511a3451ed58e13f673b02fb7f6159.tar.gz
qemu-cb301efe4f511a3451ed58e13f673b02fb7f6159.tar.bz2
qemu-cb301efe4f511a3451ed58e13f673b02fb7f6159.zip
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>
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 048da3fec1..c819863f50 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -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;
}