diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-11 15:07:56 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-11 15:07:56 +0200 |
commit | 84f217e87d6cd912a81564acc341d00515571f96 (patch) | |
tree | 1aedb9b19f1ef0677d1491d13144100f379ffb64 /tools/syslogd.c | |
parent | 5e2b03a31c312e6cd6a7f4cb0bca1f062668dc52 (diff) | |
download | rsyslog-84f217e87d6cd912a81564acc341d00515571f96.tar.gz rsyslog-84f217e87d6cd912a81564acc341d00515571f96.tar.xz rsyslog-84f217e87d6cd912a81564acc341d00515571f96.zip |
cleanup, removing now unused code
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r-- | tools/syslogd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index f623b398..45abf1a7 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -121,7 +121,6 @@ #include "ruleset.h" #include "rule.h" #include "net.h" -#include "vm.h" #include "prop.h" #include "rsconf.h" #include "dnscache.h" @@ -132,7 +131,6 @@ DEFobjCurrIf(obj) DEFobjCurrIf(glbl) DEFobjCurrIf(datetime) /* TODO: make go away! */ DEFobjCurrIf(conf) -DEFobjCurrIf(expr) DEFobjCurrIf(module) DEFobjCurrIf(errmsg) DEFobjCurrIf(rule) @@ -1544,8 +1542,6 @@ InitGlobalClasses(void) CHKiRet(objUse(module, CORE_COMPONENT)); pErrObj = "datetime"; CHKiRet(objUse(datetime, CORE_COMPONENT)); - pErrObj = "expr"; - CHKiRet(objUse(expr, CORE_COMPONENT)); pErrObj = "rule"; CHKiRet(objUse(rule, CORE_COMPONENT)); pErrObj = "ruleset"; @@ -1601,7 +1597,6 @@ GlobalClassExit(void) objRelease(conf, CORE_COMPONENT); objRelease(ruleset, CORE_COMPONENT); objRelease(rule, CORE_COMPONENT); - objRelease(expr, CORE_COMPONENT); parserClassExit(); /* this is hack, currently core_modules do not get this automatically called */ rsconfClassExit(); /* this is hack, currently core_modules do not get this automatically called */ objRelease(datetime, CORE_COMPONENT); |