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/rsyslog.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/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index bf1c35bf..10e91215 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -505,13 +505,13 @@ void dbgprintf(char *, ...) __attribute__((format(printf, 1, 2))); * add them. -- rgerhards, 2008-04-17 */ extern uchar *glblModPath; /* module load path */ -extern rsRetVal (*glblErrLogger)(int, uchar*); +extern rsRetVal (*glblErrLogger)(int, const uchar*); /* some runtime prototypes */ rsRetVal rsrtInit(char **ppErrObj, obj_if_t *pObjIF); rsRetVal rsrtExit(void); int rsrtIsInit(void); -rsRetVal rsrtSetErrLogger(rsRetVal (*errLogger)(int, uchar*)); +rsRetVal rsrtSetErrLogger(rsRetVal (*errLogger)(int, const uchar*)); /* this define below is (later) intended to be used to implement empty * structs. TODO: check if compilers supports this and, if not, define |