diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-09-16 15:58:03 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-09-16 15:58:03 +0200 |
commit | 2288bbb90fc6f51cebf5db81b05c6141e754ef25 (patch) | |
tree | 83f8df08d3a81e786fefbcf1d5966b01d6ac7a14 | |
parent | 6173abfbc9f59c7a5551cb6713ff182e68165f71 (diff) | |
download | rsyslog-2288bbb90fc6f51cebf5db81b05c6141e754ef25.tar.gz rsyslog-2288bbb90fc6f51cebf5db81b05c6141e754ef25.tar.xz rsyslog-2288bbb90fc6f51cebf5db81b05c6141e754ef25.zip |
fixed compile problems on Solarisv5.7.0
-rw-r--r-- | runtime/statsobj.h | 4 |
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) \ |