]> granicus.if.org Git - pgbouncer/commitdiff
pgbevent: make g_module static var
authorMarko Kreen <markokr@gmail.com>
Thu, 18 Dec 2008 00:16:14 +0000 (00:16 +0000)
committerMarko Kreen <markokr@gmail.com>
Thu, 18 Dec 2008 00:16:14 +0000 (00:16 +0000)
win32/pgbevent.c

index b716f774faac6e6e6ed891965e955ff467883388..41a18110689c6938b1ddd4792ebf53d896a085e7 100644 (file)
@@ -14,7 +14,7 @@
 #define APP_KEY "SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\pgbouncer"
 
 /* Global variables */
-HANDLE g_module = NULL;                /* hModule of DLL */
+static HANDLE g_module = NULL; /* hModule of DLL */
 
 /* Prototypes */
 STDAPI DllRegisterServer(void);