diff mbox

[15/48] fix function signature of qemu_chr_open_pty on !linux

Message ID a54f9cdc747091c4b3859c5faa416c13a8a608cb.1269617186.git.riku.voipio@nokia.com
State New
Headers show

Commit Message

Riku Voipio March 26, 2010, 4:06 p.m. UTC
From: Riku Voipio <riku.voipio@nokia.com>

Signed-Off-By: Riku Voipio <riku.voipio@nokia.com>
Signed-Off-By: Juha Riihimäki <juha.riihimaki@nokia.com>

---
 qemu-char.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno April 8, 2010, 7:08 p.m. UTC | #1
On Fri, Mar 26, 2010 at 04:06:35PM +0000, Riku Voipio wrote:
> From: Riku Voipio <riku.voipio@nokia.com>
> 
> Signed-Off-By: Riku Voipio <riku.voipio@nokia.com>
> Signed-Off-By: Juha Riihimäki <juha.riihimaki@nokia.com>

Thanks, applied.

> ---
>  qemu-char.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/qemu-char.c b/qemu-char.c
> index a3d6e64..1e5b515 100644
> --- a/qemu-char.c
> +++ b/qemu-char.c
> @@ -1218,7 +1218,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;
>  }
> -- 
> 1.6.5
> 
> 
> 
>
diff mbox

Patch

diff --git a/qemu-char.c b/qemu-char.c
index a3d6e64..1e5b515 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1218,7 +1218,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;
 }