summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-26 13:42:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-26 13:42:52 +0200
commitd88803c8e471b0b822108106137f5383c7efd57e (patch)
treef8da7e5eb6998f304050afaf28e47ec164dcbf0a /runtime/rsyslog.h
parent464dcf2339634a2cda0244011abe7ed8f6ed2fe5 (diff)
downloadrsyslog-d88803c8e471b0b822108106137f5383c7efd57e.tar.gz
rsyslog-d88803c8e471b0b822108106137f5383c7efd57e.tar.xz
rsyslog-d88803c8e471b0b822108106137f5383c7efd57e.zip
got rid of the recursive requirement for msg_t mutex (finally!)
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 913ab300..c2fb9383 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -414,9 +414,8 @@ typedef enum rsObjectID rsObjID;
#endif
/* some constants */
-// TODO: do we really need them - if not, delete -- rgerhards, 2009-06-10
-#define IGNORE_ERROR_CODES 1
-#define ABORT_ON_ERROR 0
+#define MUTEX_ALREADY_LOCKED 0
+#define LOCK_MUTEX 1
/* The following prototype is convenient, even though it may not be the 100% correct place.. -- rgerhards 2008-01-07 */
void dbgprintf(char *, ...) __attribute__((format(printf, 1, 2)));