diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-29 09:16:03 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-29 09:16:03 +0100 |
commit | 1ea869ec5460806841ab4feacf24e25c288a5760 (patch) | |
tree | 4c3f16bfc5abe1ba59b158bfd1b2758b9419cd13 /runtime/errmsg.h | |
parent | 888d6e771f2ff6707dd3b8655b1bad4b4519b641 (diff) | |
download | rsyslog-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.h | 2 |
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! */ |