summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDražen Kačar <dave@fly.srk.fer.hr>2011-02-16 18:20:59 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-16 18:20:59 +0100
commit7052d3c378ff600f9f03a05b1918d8eda6b76e2b (patch)
tree8e475f3b96246b1f0fa5019fb04f23d6e8953dd4 /tools
parent772e0ae8460478e43caac55dfa3182dd4b58b52a (diff)
downloadrsyslog-7052d3c378ff600f9f03a05b1918d8eda6b76e2b.tar.gz
rsyslog-7052d3c378ff600f9f03a05b1918d8eda6b76e2b.tar.xz
rsyslog-7052d3c378ff600f9f03a05b1918d8eda6b76e2b.zip
bugfix: fixed compile problem due to empty structs
this occured only on some platforms/compilers. thanks to Dražen Kačar for the fix Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/omdiscard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/omdiscard.c b/tools/omdiscard.c
index f13144e8..227ad8e2 100644
--- a/tools/omdiscard.c
+++ b/tools/omdiscard.c
@@ -44,6 +44,7 @@ MODULE_TYPE_OUTPUT
DEF_OMOD_STATIC_DATA
typedef struct _instanceData {
+ char dummy;
} instanceData;
/* we do not need a createInstance()!