summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-09-16 15:58:03 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-09-16 15:58:03 +0200
commit2288bbb90fc6f51cebf5db81b05c6141e754ef25 (patch)
tree83f8df08d3a81e786fefbcf1d5966b01d6ac7a14
parent6173abfbc9f59c7a5551cb6713ff182e68165f71 (diff)
downloadrsyslog-2288bbb90fc6f51cebf5db81b05c6141e754ef25.tar.gz
rsyslog-2288bbb90fc6f51cebf5db81b05c6141e754ef25.tar.xz
rsyslog-2288bbb90fc6f51cebf5db81b05c6141e754ef25.zip
fixed compile problems on Solarisv5.7.0
-rw-r--r--runtime/statsobj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/statsobj.h b/runtime/statsobj.h
index 1ab02182..7447cded 100644
--- a/runtime/statsobj.h
+++ b/runtime/statsobj.h
@@ -99,7 +99,7 @@ PROTOTYPEObj(statsobj);
*/
#define STATSCOUNTER_DEF(ctr, mut) \
intctr_t ctr; \
- DEF_ATOMIC_HELPER_MUT(mut)
+ DEF_ATOMIC_HELPER_MUT(mut);
#define STATSCOUNTER_INIT(ctr, mut) \
INIT_ATOMIC_HELPER_MUT(mut); \
@@ -107,7 +107,7 @@ PROTOTYPEObj(statsobj);
#define STATSCOUNTER_INC(ctr, mut) \
if(GatherStats) \
- ATOMIC_INC(&ctr, mut);
+ ATOMIC_INC(&ctr, &mut);
#define STATSCOUNTER_DEC(ctr, mut) \
if(GatherStats) \