Module: wine Branch: master Commit: f34e733c2cc28766f015f9e2cb1f8a9ddaf78ce3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f34e733c2cc28766f015f9e2cb...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Sat Jan 24 13:27:07 2009 +0000
setupapi: Declare a function static.
---
dlls/setupapi/parser.c | 4 ++-- dlls/setupapi/setupapi_private.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/setupapi/parser.c b/dlls/setupapi/parser.c index c94e513..85d87bb 100644 --- a/dlls/setupapi/parser.c +++ b/dlls/setupapi/parser.c @@ -365,8 +365,8 @@ static const WCHAR *get_string_subst( const struct inf_file *file, const WCHAR * /* do string substitutions on the specified text */ /* the buffer is assumed to be large enough */ /* returns necessary length not including terminating null */ -unsigned int PARSER_string_substW( const struct inf_file *file, const WCHAR *text, WCHAR *buffer, - unsigned int size ) +static unsigned int PARSER_string_substW( const struct inf_file *file, const WCHAR *text, + WCHAR *buffer, unsigned int size ) { const WCHAR *start, *subst, *p; unsigned int len, total = 0; diff --git a/dlls/setupapi/setupapi_private.h b/dlls/setupapi/setupapi_private.h index caf1d3b..d01edba 100644 --- a/dlls/setupapi/setupapi_private.h +++ b/dlls/setupapi/setupapi_private.h @@ -70,8 +70,6 @@ struct inf_file; extern const WCHAR *DIRID_get_string( int dirid ); extern unsigned int PARSER_string_substA( const struct inf_file *file, const WCHAR *text, char *buffer, unsigned int size ); -extern unsigned int PARSER_string_substW( const struct inf_file *file, const WCHAR *text, - WCHAR *buffer, unsigned int size ); extern const WCHAR *PARSER_get_inf_filename( HINF hinf ); extern WCHAR *PARSER_get_src_root( HINF hinf ); extern WCHAR *PARSER_get_dest_dir( INFCONTEXT *context );