summaryrefslogtreecommitdiffstats
path: root/runtime
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 /runtime
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 'runtime')
-rw-r--r--runtime/datetime.h1
-rw-r--r--runtime/errmsg.h1
-rw-r--r--runtime/expr.h1
-rw-r--r--runtime/modules.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/runtime/datetime.h b/runtime/datetime.h
index 82bd415b..70bbf416 100644
--- a/runtime/datetime.h
+++ b/runtime/datetime.h
@@ -28,6 +28,7 @@
/* the datetime object */
typedef struct datetime_s {
+ char dummy;
} datetime_t;
diff --git a/runtime/errmsg.h b/runtime/errmsg.h
index 799954fb..ac7018b3 100644
--- a/runtime/errmsg.h
+++ b/runtime/errmsg.h
@@ -30,6 +30,7 @@
/* the errmsg object */
typedef struct errmsg_s {
+ char dummy;
} errmsg_t;
diff --git a/runtime/expr.h b/runtime/expr.h
index 974b71ec..1afe1a1f 100644
--- a/runtime/expr.h
+++ b/runtime/expr.h
@@ -30,6 +30,7 @@
/* a node inside an expression tree */
typedef struct exprNode_s {
+ char dummy;
} exprNode_t;
diff --git a/runtime/modules.h b/runtime/modules.h
index 49586e8d..df1afbc3 100644
--- a/runtime/modules.h
+++ b/runtime/modules.h
@@ -119,6 +119,7 @@ struct modInfo_s {
rsRetVal (*parseSelectorAct)(uchar**, void**,omodStringRequest_t**);
} om;
struct { /* data for library modules */
+ char dummy;
} lm;
struct { /* data for parser modules */
rsRetVal (*parse)(msg_t*);