Module: wine Branch: refs/heads/master Commit: cf4c08dcbc34ee1a9cbc68bcbf9b30da5eb09e69 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cf4c08dcbc34ee1a9cbc68bc...
Author: Dan Hipschman dsh@linux.ucla.edu Date: Fri Jul 28 18:08:13 2006 -0700
widl: Fix "static declaration follows non-static declaration" in generated code.
---
tools/widl/proxy.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index 6449bad..1710cdc 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"); }