summaryrefslogtreecommitdiff
path: root/src/bin/pgevent/pgevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pgevent/pgevent.c')
-rw-r--r--src/bin/pgevent/pgevent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pgevent/pgevent.c b/src/bin/pgevent/pgevent.c
index 807a2c93120..020893342aa 100644
--- a/src/bin/pgevent/pgevent.c
+++ b/src/bin/pgevent/pgevent.c
@@ -15,14 +15,14 @@
#include <olectl.h>
/* Global variables */
-HANDLE g_module = NULL; /* hModule of DLL */
+static HANDLE g_module = NULL; /* hModule of DLL */
/*
* The event source is stored as a registry key.
* The maximum length of a registry key is 255 characters.
* http://msdn.microsoft.com/en-us/library/ms724872(v=vs.85).aspx
*/
-char event_source[256] = DEFAULT_EVENT_SOURCE;
+static char event_source[256] = DEFAULT_EVENT_SOURCE;
/* Prototypes */
HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine);