summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-26 08:27:50 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-26 08:27:50 +0000
commitc373382c1edabd134c938e3c272ee40b5ee590b6 (patch)
tree934a209164285206461be81c86698d0c6172c83c /error.c
parent5a2e9a2587372aeb4b74fa1aadf53283ed7cae10 (diff)
downloadopenvpn-c373382c1edabd134c938e3c272ee40b5ee590b6.tar.gz
openvpn-c373382c1edabd134c938e3c272ee40b5ee590b6.tar.xz
openvpn-c373382c1edabd134c938e3c272ee40b5ee590b6.zip
Fixed compiler warnings in Windows build (MinGW).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3125 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/error.c b/error.c
index 842ad83..f1e7996 100644
--- a/error.c
+++ b/error.c
@@ -78,7 +78,9 @@ static bool use_syslog; /* GLOBAL */
static bool suppress_timestamps; /* GLOBAL */
/* The program name passed to syslog */
+#if SYSLOG_CAPABILITY
static char *pgmname_syslog; /* GLOBAL */
+#endif
/* If non-null, messages should be written here (used for debugging only) */
static FILE *msgfp; /* GLOBAL */