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

login
register
mail settings
Submitter Riku Voipio
Date March 26, 2010, 4:06 p.m.
Message ID <a54f9cdc747091c4b3859c5faa416c13a8a608cb.1269617186.git.riku.voipio@nokia.com>
Download mbox | patch
Permalink /patch/48666/
State New
Headers show

Comments

Riku Voipio - March 26, 2010, 4:06 p.m.
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(-)
Aurelien Jarno - April 8, 2010, 7:08 p.m.
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
> 
> 
> 
>

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