mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 02:50:43 +01:00
applied patch from Tiziano Müller to remove some compiler warnings
This commit is contained in:
parent
8fae8b6d86
commit
2b51fcab7b
@ -1,8 +1,9 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.14.2 (rgerhards), 2008-04-??
|
||||
Version 3.14.3 (rgerhards), 2008-04-??
|
||||
- bugfix: omsnmp had a too-small sized buffer for hostname+port. This
|
||||
could not lead to a segfault, as snprintf() was used, but could cause
|
||||
some trouble with extensively long hostnames.
|
||||
- applied patch from Tiziano Müller to remove some compiler warnings
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.14.2 (rgerhards), 2008-04-09
|
||||
- bugfix: segfault with expression-based filters
|
||||
|
||||
3
obj.c
3
obj.c
@ -85,6 +85,7 @@
|
||||
#include "stream.h"
|
||||
#include "modules.h"
|
||||
#include "errmsg.h"
|
||||
#include "cfsysline.h"
|
||||
|
||||
/* static data */
|
||||
DEFobjCurrIf(obj) /* we define our own interface, as this is expected by some macros! */
|
||||
@ -1328,7 +1329,7 @@ objClassInit(modInfo_t *pModInfo)
|
||||
|
||||
/* init classes we use (limit to as few as possible!) */
|
||||
CHKiRet(errmsgClassInit(pModInfo));
|
||||
CHKiRet(cfsyslineInit(pModInfo));
|
||||
CHKiRet(cfsyslineInit());
|
||||
CHKiRet(varClassInit(pModInfo));
|
||||
CHKiRet(moduleClassInit(pModInfo));
|
||||
CHKiRet(objUse(var, CORE_COMPONENT));
|
||||
|
||||
@ -161,4 +161,7 @@ rsRetVal rsCStrAppendCStr(cstr_t *pThis, cstr_t *pstrAppend);
|
||||
|
||||
#define rsCStrGetBufBeg(x) ((x)->pBuf)
|
||||
|
||||
rsRetVal strInit();
|
||||
rsRetVal strExit();
|
||||
|
||||
#endif /* single include */
|
||||
|
||||
@ -111,6 +111,8 @@ void tplLastStaticInit(struct template *tpl);
|
||||
rsRetVal tplToString(struct template *pTpl, msg_t *pMsg, uchar** ppSz);
|
||||
void doSQLEscape(uchar **pp, size_t *pLen, unsigned short *pbMustBeFreed, int escapeMode);
|
||||
|
||||
rsRetVal templateInit();
|
||||
|
||||
#endif /* #ifndef TEMPLATE_H_INCLUDED */
|
||||
/* vim:set ai:
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user