diff --git a/tools/widl/client.c b/tools/widl/client.c index 6f8773e3957..c52fe98c7f2 100644 --- a/tools/widl/client.c +++ b/tools/widl/client.c @@ -451,7 +451,7 @@ static void init_client(void) if (!(client = fopen(client_name, "w"))) error("Could not open %s for output\n", client_name); - print_client("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name); + print_client("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name); print_client("#include \n"); print_client("#ifdef _ALPHA_\n"); print_client("#include \n"); diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index 1710cdcadb7..c308ab86af5 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -147,7 +147,7 @@ static void init_proxy(void) if (proxy) return; if(!(proxy = fopen(proxy_name, "w"))) error("Could not open %s for output\n", proxy_name); - print_proxy( "/*** Autogenerated by WIDL %s - Do not edit ***/\n", WIDL_FULLVERSION); + print_proxy( "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name); print_proxy( "\n"); print_proxy( "#ifndef __REDQ_RPCPROXY_H_VERSION__\n"); print_proxy( "#define __REQUIRED_RPCPROXY_H_VERSION__ 440\n"); diff --git a/tools/widl/server.c b/tools/widl/server.c index 72d5ae700f2..19a4a2bf1e8 100644 --- a/tools/widl/server.c +++ b/tools/widl/server.c @@ -587,7 +587,7 @@ static void init_server(void) if (!(server = fopen(server_name, "w"))) error("Could not open %s for output\n", server_name); - print_server("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name); + print_server("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name); print_server("#include \n"); fprintf(server, "\n"); print_server("#include \"%s\"\n", header_name); diff --git a/tools/widl/widl.h b/tools/widl/widl.h index 9357450bafd..e84a5ade6eb 100644 --- a/tools/widl/widl.h +++ b/tools/widl/widl.h @@ -25,8 +25,6 @@ #include -#define WIDL_FULLVERSION "0.1" - extern int debuglevel; #define DEBUGLEVEL_NONE 0x0000 #define DEBUGLEVEL_CHAT 0x0001