[Spice-devel] [PATCH 10/15] Change do_spice_init() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Wed Jan 20 05:25:22 PST 2016
From: Jonathon Jongsma <jjongsma 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);
}
--
2.4.3
More information about the Spice-devel
mailing list