summaryrefslogtreecommitdiffstats
path: root/plugins/immark
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-17 11:52:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-17 11:52:10 +0000
commit9088ee33893803cc47a69ba671ebfe10cc09c95b (patch)
treee0889ed5bb7dc349eff57d0af1a21c5a81c86218 /plugins/immark
parent369b0ebd927545b9a9e4be211580ce6e0d77284d (diff)
downloadrsyslog-9088ee33893803cc47a69ba671ebfe10cc09c95b.tar.gz
rsyslog-9088ee33893803cc47a69ba671ebfe10cc09c95b.tar.xz
rsyslog-9088ee33893803cc47a69ba671ebfe10cc09c95b.zip
begun imklog, replacing klogd.c (finally we get rid of it...)
Diffstat (limited to 'plugins/immark')
-rw-r--r--plugins/immark/immark.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/immark/immark.c b/plugins/immark/immark.c
index fa603260..78adcbac 100644
--- a/plugins/immark/immark.c
+++ b/plugins/immark/immark.c
@@ -30,7 +30,6 @@
* A copy of the GPL can be found in the file "COPYING" in this distribution.
*/
#include "config.h"
-#if 1 /* IMMARK */
#include "rsyslog.h"
#include <stdlib.h>
#include <stdio.h>
@@ -49,7 +48,7 @@ TERM_SYNC_TYPE(eTermSync_SIGNAL)
#define DEFAULT_MARK_PERIOD (20 * 60)
/* Module static data */
-DEF_OMOD_STATIC_DATA
+DEF_IMOD_STATIC_DATA
static int iMarkMessagePeriod = DEFAULT_MARK_PERIOD;
typedef struct _instanceData {
@@ -129,7 +128,6 @@ CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(omsdRegCFSLineHdlr((uchar *)"markmessageperiod", 0, eCmdHdlrInt, NULL, &iMarkMessagePeriod, STD_LOADABLE_MODULE_ID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID));
ENDmodInit
-#endif /* #if 0 */
/*
* vi:set ai:
*/