From 28c44e9a7bf4f99279af94a96bac42d0379b27d0 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 10 Jan 2008 14:27:26 +0000 Subject: - fixed a bug that caused a segfault on startup when no $WorkDir directive was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool --- module-template.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'module-template.h') diff --git a/module-template.h b/module-template.h index 3b6ebb69..ecd6fe6d 100644 --- a/module-template.h +++ b/module-template.h @@ -334,8 +334,6 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())\ CODEqueryEtryPt_STD_MOD_QUERIES \ else if(!strcmp((char*) name, "runInput")) {\ *pEtryPoint = runInput;\ - } else if(!strcmp((char*) name, "getTermSyncType")) {\ - *pEtryPoint = modGetTermSyncType;\ } else if(!strcmp((char*) name, "willRun")) {\ *pEtryPoint = willRun;\ } else if(!strcmp((char*) name, "afterRun")) {\ @@ -471,16 +469,6 @@ static rsRetVal afterRun(void)\ } -/* method to return which termination sync method is used by this module. - */ -#define TERM_SYNC_TYPE(x) \ -static rsRetVal modGetTermSyncType(eTermSyncType_t *pTermSync)\ -{\ - assert(pTermSync != NULL); \ - *pTermSync = (x);\ - return RS_RET_OK;\ -} - /* * vi:set ai: */ -- cgit v1.2.3