From c4173f7b99f72a25b444740da10d9d93f7f35b0e Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 13 Dec 2005 11:12:37 +0100 Subject: [PATCH] widl: Server stubs in generated code are void functions. --- tools/widl/server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/widl/server.c b/tools/widl/server.c index 4c9fcbd6f4c..d90fc8d5649 100644 --- a/tools/widl/server.c +++ b/tools/widl/server.c @@ -120,8 +120,7 @@ static void write_function_stubs(type_t *iface) } } - write_type(server, def->type, def, def->tname); - fprintf(server, " __RPC_STUB\n"); + fprintf(server, "void __RPC_STUB\n"); fprintf(server, "%s_", iface->name); write_name(server, def); fprintf(server, "(\n");