summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imklog')
-rw-r--r--plugins/imklog/imklog.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index 157dee73..1c3c79c3 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -46,11 +46,14 @@ MODULE_TYPE_INPUT
TERM_SYNC_TYPE(eTermSync_SIGNAL)
/* Module static data */
-int dbgPrintSymbols = 0;
DEF_IMOD_STATIC_DATA
typedef struct _instanceData {
} instanceData;
+/* configuration settings TODO: move to instance data? */
+int dbgPrintSymbols = 0;
+int symbols_twice = 0;
+
/* Includes. */
#include <unistd.h>
@@ -87,12 +90,11 @@ static int kmsg,
static int use_syscall = 0,
symbol_lookup = 1;
-static char *symfile = (char *) 0,
+static char *symfile = NULL,
log_buffer[LOG_BUFFER_SIZE];
static enum LOGSRC {none, proc, kernel} logsrc;
-int symbols_twice = 0;
/* Function prototypes. */