summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-31 13:52:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-31 13:52:47 +0000
commit03c0e5549ac2daefbdf2002e8406b29af8390d02 (patch)
tree03e32985c86cbb513cd6a635864a47263de2c878
parent8987c38bbe11abca614e61b371dc57cb93b0802d (diff)
downloadrsyslog-03c0e5549ac2daefbdf2002e8406b29af8390d02.tar.gz
rsyslog-03c0e5549ac2daefbdf2002e8406b29af8390d02.tar.xz
rsyslog-03c0e5549ac2daefbdf2002e8406b29af8390d02.zip
cleanup of unnecessary warnings
-rw-r--r--module-template.h2
-rw-r--r--plugins/imrelp/imrelp.c2
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