- Server stubs are void functions.
- Fix a warning in the server stub descriptor.
Modified: trunk/reactos/tools/widl/ChangeLog
Modified: trunk/reactos/tools/widl/server.c
_____
Modified: trunk/reactos/tools/widl/ChangeLog
--- trunk/reactos/tools/widl/ChangeLog 2005-02-26 15:17:54 UTC (rev
13751)
+++ trunk/reactos/tools/widl/ChangeLog 2005-02-26 15:54:27 UTC (rev
13752)
@@ -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
_____
Modified: trunk/reactos/tools/widl/server.c
--- trunk/reactos/tools/widl/server.c 2005-02-26 15:17:54 UTC (rev
13751)
+++ trunk/reactos/tools/widl/server.c 2005-02-26 15:54:27 UTC (rev
13752)
@@ -366,8 +366,7 @@
}
}
- 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,11 +601,11 @@
print_server("(void __RPC_FAR *)& %s___RpcServerInterface,\n",
iface->name);
print_server("MIDL_user_allocate,\n");
print_server("MIDL_user_free,\n");
+ print_server("{NULL},\n");
print_server("0,\n");
print_server("0,\n");
print_server("0,\n");
print_server("0,\n");
- print_server("0,\n");
print_server("__MIDL_TypeFormatString.Format,\n");
print_server("1, /* -error bounds_check flag */\n");
print_server("0x10001, /* Ndr library version */\n");
Show replies by date