summaryrefslogtreecommitdiffstats
path: root/module-template.h
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 /module-template.h
parent8987c38bbe11abca614e61b371dc57cb93b0802d (diff)
downloadrsyslog-03c0e5549ac2daefbdf2002e8406b29af8390d02.tar.gz
rsyslog-03c0e5549ac2daefbdf2002e8406b29af8390d02.tar.xz
rsyslog-03c0e5549ac2daefbdf2002e8406b29af8390d02.zip
cleanup of unnecessary warnings
Diffstat (limited to 'module-template.h')
-rw-r--r--module-template.h2
1 files changed, 1 insertions, 1 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 \