msvcrt: Declare some items static
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Jan 13 14:31:01 CST 2007
Changelog:
msvcrt: Declare some items static.
diff -urN a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c
--- a/dlls/msvcrt/except.c 2006-12-28 14:19:56.000000000 +0000
+++ b/dlls/msvcrt/except.c 2007-01-13 19:08:50.000000000 +0000
@@ -412,7 +412,7 @@
typedef void (*float_handler)(int, int);
/* The exception codes are actually NTSTATUS values */
-struct
+static struct
{
NTSTATUS status;
int signal;
diff -urN a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c
--- a/dlls/msvcrt/exit.c 2006-12-15 17:26:01.000000000 +0000
+++ b/dlls/msvcrt/exit.c 2007-01-13 19:09:38.000000000 +0000
@@ -41,7 +41,7 @@
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-patches
mailing list