]> granicus.if.org Git - postgresql/commitdiff
Make variable static, per Tom.
authorMagnus Hagander <magnus@hagander.net>
Mon, 29 Oct 2007 14:04:42 +0000 (14:04 +0000)
committerMagnus Hagander <magnus@hagander.net>
Mon, 29 Oct 2007 14:04:42 +0000 (14:04 +0000)
src/backend/port/win32/mingwcompat.c

index da45854ef9b8541e81973fdb368ce2461e13059f..20b8cc7ee7d26e08d86690b95fb01d767448a240 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/port/win32/mingwcompat.c,v 1.1 2007/10/29 12:35:41 mha Exp $
+ *       $PostgreSQL: pgsql/src/backend/port/win32/mingwcompat.c,v 1.2 2007/10/29 14:04:42 mha Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -46,7 +46,7 @@ LoadKernel32()
  */
 typedef BOOL (WINAPI * __RegisterWaitForSingleObject)
        (PHANDLE, HANDLE, WAITORTIMERCALLBACK, PVOID, ULONG, ULONG);
-__RegisterWaitForSingleObject _RegisterWaitForSingleObject = NULL;
+static __RegisterWaitForSingleObject _RegisterWaitForSingleObject = NULL;
 
 BOOL WINAPI 
 RegisterWaitForSingleObject(PHANDLE phNewWaitObject,