summaryrefslogtreecommitdiffstats
path: root/runtime/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-27 14:02:00 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-27 14:02:00 +0200
commit17e3f6b49cccb99316f2907eb3c131ec998ee3c3 (patch)
tree5b8ed0a9bd0fc09e9c9e766d961d6fb4eb203395 /runtime/conf.c
parent706121052d2c2c0bca42b3f8f1e785dd96369772 (diff)
downloadrsyslog-17e3f6b49cccb99316f2907eb3c131ec998ee3c3.tar.gz
rsyslog-17e3f6b49cccb99316f2907eb3c131ec998ee3c3.tar.xz
rsyslog-17e3f6b49cccb99316f2907eb3c131ec998ee3c3.zip
step: $ModLoad handler no longe requries conf obj
re-doing the interface, global var "loadConf" now holds that data. Makes things simpler with legacy handler, as well as new functionality.
Diffstat (limited to 'runtime/conf.c')
-rw-r--r--runtime/conf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index 9fecc34d..c8c4d938 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -249,10 +249,9 @@ finalize_it:
}
-/* process a $ModLoad config line.
- */
+/* process a $ModLoad config line. */
rsRetVal
-doModLoad(rsconf_t * conf, uchar **pp, __attribute__((unused)) void* pVal)
+doModLoad(uchar **pp, __attribute__((unused)) void* pVal)
{
DEFiRet;
uchar szName[512];