projects
/
sdk
/
emulator
/
qemu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync with tizen_2.2
[sdk/emulator/qemu.git]
/
hw
/
msmouse.c
diff --git
a/hw/msmouse.c
b/hw/msmouse.c
index
c3b57ea
..
9c492a4
100644
(file)
--- a/
hw/msmouse.c
+++ b/
hw/msmouse.c
@@
-64,7
+64,7
@@
static void msmouse_chr_close (struct CharDriverState *chr)
g_free (chr);
}
g_free (chr);
}
-
int qemu_chr_open_msmouse(QemuOpts *opts, CharDriverState **_chr
)
+
CharDriverState *qemu_chr_open_msmouse(QemuOpts *opts
)
{
CharDriverState *chr;
{
CharDriverState *chr;
@@
-74,6
+74,5
@@
int qemu_chr_open_msmouse(QemuOpts *opts, CharDriverState **_chr)
qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse");
qemu_add_mouse_event_handler(msmouse_event, chr, 0, "QEMU Microsoft Mouse");
- *_chr = chr;
- return 0;
+ return chr;
}
}