diff options
-rw-r--r-- | module-template.h | 2 | ||||
-rw-r--r-- | plugins/imrelp/imrelp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module-template.h b/module-template.h index 8b6bedde..d5e142b4 100644 --- a/module-template.h +++ b/module-template.h @@ -34,7 +34,7 @@ /* macro to define standard output-module static data members */ #define DEF_MOD_STATIC_DATA \ - static rsRetVal (*omsdRegCFSLineHdlr)(); + static __attribute__((unused)) rsRetVal (*omsdRegCFSLineHdlr)(); #define DEF_OMOD_STATIC_DATA \ DEF_MOD_STATIC_DATA \ diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index c67da6eb..b7308016 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -72,7 +72,7 @@ isPermittedHost(struct sockaddr *addr, char *fromHostFQDN, void __attribute__((u /* callback for receiving syslog messages. This function is invoked from the * RELP engine when a syslog message arrived. It must return a relpRetVal, * with anything else but RELP_RET_OK terminating the relp session. Please note - * that RELP_RE_OK is equal to RS_RET_OK and the other libRELP error codes + * that RELP_RET_OK is equal to RS_RET_OK and the other libRELP error codes * are different from our rsRetVal. So we can simply use our own iRet system * to fulfill the requirement. * rgerhards, 2008-03-21 |