attrib: Make ATTRIB_wprintf() static.

Francois Gouget fgouget at free.fr
Thu Sep 8 05:18:04 CDT 2011


---
 programs/attrib/attrib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c
index 33bf3c4..0ca64c3 100644
--- a/programs/attrib/attrib.c
+++ b/programs/attrib/attrib.c
@@ -45,7 +45,7 @@ static WCHAR *ATTRIB_LoadMessage(UINT id) {
  *  and hence required WriteConsoleW to output it, however if file i/o is
  *  redirected, it needs to be WriteFile'd using OEM (not ANSI) format
  * ========================================================================= */
-int ATTRIB_wprintf(const WCHAR *format, ...) {
+static int ATTRIB_wprintf(const WCHAR *format, ...) {
 
     static WCHAR *output_bufW = NULL;
     static char  *output_bufA = NULL;
-- 
1.7.5.4



More information about the wine-patches mailing list