Andrew Talbot : msvcrt: Declare some items static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 15 07:43:15 CST 2007


Module: wine
Branch: master
Commit: 338100c2556438a741acdcef5654c58f00355c7c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=338100c2556438a741acdcef5654c58f00355c7c

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Jan 13 20:31:01 2007 +0000

msvcrt: Declare some items static.

---

 dlls/msvcrt/except.c |    2 +-
 dlls/msvcrt/exit.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c
index 07cc61a..76bcb04 100644
--- a/dlls/msvcrt/except.c
+++ b/dlls/msvcrt/except.c
@@ -412,7 +412,7 @@ static BOOL WINAPI msvcrt_console_handle
 typedef void (*float_handler)(int, int);
 
 /* The exception codes are actually NTSTATUS values */
-struct
+static const struct
 {
     NTSTATUS status;
     int signal;
diff --git a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c
index fecbf10..a5d5283 100644
--- a/dlls/msvcrt/exit.c
+++ b/dlls/msvcrt/exit.c
@@ -41,7 +41,7 @@ extern char *MSVCRT__pgmptr;
 void (*_aexit_rtn)(int) = MSVCRT__exit;
 
 /* INTERNAL: call atexit functions */
-void __MSVCRT__call_atexit(void)
+static void __MSVCRT__call_atexit(void)
 {
   /* Note: should only be called with the exit lock held */
   TRACE("%d atext functions to call\n", MSVCRT_atexit_registered);




More information about the wine-cvs mailing list