[gspell/wip/gspell-init2: 1/2] win32: make the HMODULE static



commit 6ebbb7e98b7c53b5c8132da368b95fe597e066ed
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 26 18:13:43 2016 +0100

    win32: make the HMODULE static
    
    So at least it is initialized to zero, and we are sure there is only one
    gspell_dll.

 gspell/gspell-init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gspell/gspell-init.c b/gspell/gspell-init.c
index 0631cdb..4fdfa8b 100644
--- a/gspell/gspell-init.c
+++ b/gspell/gspell-init.c
@@ -32,7 +32,7 @@
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
-HMODULE gspell_dll;
+static HMODULE gspell_dll;
 #endif /* G_OS_WIN32 */
 
 #ifdef OS_OSX


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]