summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-17 11:17:15 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-17 11:17:15 +0200
commite5130affc022eff12a3d9584576a385edbb13465 (patch)
treec10ebc6869d977806b67f6d72f69b66c36f30548 /runtime/rsyslog.c
parent0edc7976ae057d474254379daa9085b05a52e12d (diff)
downloadrsyslog-e5130affc022eff12a3d9584576a385edbb13465.tar.gz
rsyslog-e5130affc022eff12a3d9584576a385edbb13465.tar.xz
rsyslog-e5130affc022eff12a3d9584576a385edbb13465.zip
moved "glblModPath" variable inside global data pool
(but still as a variable, not part of glbl object)
Diffstat (limited to 'runtime/rsyslog.c')
-rw-r--r--runtime/rsyslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/rsyslog.c b/runtime/rsyslog.c
index b7f0c2c1..d0eaa6f8 100644
--- a/runtime/rsyslog.c
+++ b/runtime/rsyslog.c
@@ -76,6 +76,9 @@
#include "conf.h"
#include "glbl.h"
+/* globally visible static data - see comment in rsyslog.h for details */
+uchar *glblModPath; /* module load path */
+
/* static data */
static int iRefCount = 0; /* our refcount - it MUST exist only once inside a process (not thread)
thus it is perfectly OK to use a static. MUST be initialized to 0! */