From cf4c08dcbc34ee1a9cbc68bcbf9b30da5eb09e69 Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Fri, 28 Jul 2006 18:08:13 -0700 Subject: [PATCH] widl: Fix "static declaration follows non-static declaration" in generated code. --- tools/widl/proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index 6449bad1537..1710cdcadb7 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -110,8 +110,8 @@ static void write_formatstringsdecl(void) write_formatdesc( "TYPE" ); write_formatdesc( "PROC" ); fprintf(proxy, "\n"); - print_proxy( "extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;\n"); - print_proxy( "extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;\n"); + print_proxy( "static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;\n"); + print_proxy( "static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;\n"); print_proxy( "\n"); } -- 2.11.4.GIT