- Server stubs are void functions.

- Fix a warning in the server stub descriptor.

svn path=/trunk/; revision=13752
This commit is contained in:
Eric Kohl 2005-02-26 15:54:27 +00:00
parent 22e4fff2f1
commit ab419177d6
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,12 @@
ChangeLog
2005-02-26 ekohl
tools/widl/server.c
Server stubs are void functions.
Fix a warning in the server stub descriptor.
2005-02-25 ekohl
tools/widl/client.c
tools/widl/header.c

View file

@ -366,8 +366,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");
@ -602,7 +601,7 @@ static void write_stubdescriptor(type_t *iface)
print_server("(void __RPC_FAR *)& %s___RpcServerInterface,\n", iface->name);
print_server("MIDL_user_allocate,\n");
print_server("MIDL_user_free,\n");
print_server("0,\n");
print_server("{NULL},\n");
print_server("0,\n");
print_server("0,\n");
print_server("0,\n");