summaryrefslogtreecommitdiffstats
path: root/runtime/errmsg.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-29 09:16:03 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-29 09:16:03 +0100
commit1ea869ec5460806841ab4feacf24e25c288a5760 (patch)
tree4c3f16bfc5abe1ba59b158bfd1b2758b9419cd13 /runtime/errmsg.h
parent888d6e771f2ff6707dd3b8655b1bad4b4519b641 (diff)
downloadrsyslog-1ea869ec5460806841ab4feacf24e25c288a5760.tar.gz
rsyslog-1ea869ec5460806841ab4feacf24e25c288a5760.tar.bz2
rsyslog-1ea869ec5460806841ab4feacf24e25c288a5760.zip
use const keyword at (some) appropriate places
Diffstat (limited to 'runtime/errmsg.h')
-rw-r--r--runtime/errmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/errmsg.h b/runtime/errmsg.h
index dfa70c00..3f511ae5 100644
--- a/runtime/errmsg.h
+++ b/runtime/errmsg.h
@@ -34,7 +34,7 @@ typedef struct errmsg_s {
/* interfaces */
BEGINinterface(errmsg) /* name must also be changed in ENDinterface macro! */
- void __attribute__((format(printf, 3, 4))) (*LogError)(int iErrno, int iErrCode, char *pszErrFmt, ... );
+ void __attribute__((format(printf, 3, 4))) (*LogError)(const int iErrno, const int iErrCode, const char *pszErrFmt, ... );
ENDinterface(errmsg)
#define errmsgCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */