[Spice-devel] [PATCH 10/15] Change do_spice_init() to take RedsState arg
Pavel Grunt
pgrunt at redhat.com
Wed Jan 20 06:00:56 PST 2016
On Wed, 2016-01-20 at 13:25 +0000, Frediano Ziglio wrote:
> From: Jonathon Jongsma <jjongsma at redhat.com>
>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
> server/reds.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/server/reds.c b/server/reds.c
> index 81d253c..824e149 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -3343,7 +3343,7 @@ static void init_vd_agent_resources(void)
>
> const char *version_string = VERSION;
>
> -static int do_spice_init(SpiceCoreInterface *core_interface)
> +static int do_spice_init(RedsState *reds, SpiceCoreInterface
> *core_interface)
> {
> spice_info("starting %s", version_string);
>
> @@ -3483,7 +3483,7 @@ SPICE_GNUC_VISIBLE int
> spice_server_init(SpiceServer *s, SpiceCoreInterface *cor
> int ret;
>
> spice_assert(reds == s);
> - ret = do_spice_init(core);
> + ret = do_spice_init(s, core);
> if (default_renderer) {
> red_add_renderer(default_renderer);
> }
More information about the Spice-devel
mailing list