summaryrefslogtreecommitdiffstats
path: root/obj-types.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-29 11:53:02 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-29 11:53:02 +0000
commitbf4ba7de44208dd4ccea602a30c788dcd480a12d (patch)
treeaabacbab8651b1028013c977f70a87a78ffc1fc2 /obj-types.h
parentcab529b79881a1165fea5a16698b6274ad290ef3 (diff)
downloadrsyslog-bf4ba7de44208dd4ccea602a30c788dcd480a12d.tar.gz
rsyslog-bf4ba7de44208dd4ccea602a30c788dcd480a12d.tar.xz
rsyslog-bf4ba7de44208dd4ccea602a30c788dcd480a12d.zip
fixed bug in release build
Diffstat (limited to 'obj-types.h')
-rw-r--r--obj-types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/obj-types.h b/obj-types.h
index bd0da73e..030099bb 100644
--- a/obj-types.h
+++ b/obj-types.h
@@ -101,7 +101,7 @@ typedef struct obj { /* the dummy struct that each derived class can be casted t
*/
#ifndef NDEBUG /* this means if debug... */
# define BEGINobjInstance \
- obj_t objData;
+ obj_t objData
# define ISOBJ_assert(pObj) \
do { \
ASSERT((pObj) != NULL); \
@@ -114,7 +114,7 @@ typedef struct obj { /* the dummy struct that each derived class can be casted t
ASSERT(objGetObjID(pObj) == OBJ##objType); \
} while(0);
#else /* non-debug mode, no checks but much faster */
-# define BEGINobjInstance objInfo_t *objData.pObjInfo; objData_t objData;
+# define BEGINobjInstance obj_t objData
# define ISOBJ_TYPE_assert(pObj, objType)
# define ISOBJ_assert(pObj)
#endif