summaryrefslogtreecommitdiff
path: root/runtime/prop.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-05-16 14:51:51 +0200
committerMichael Biebl <biebl@debian.org>2014-05-16 14:51:51 +0200
commitf1040389ccb2430b9ab2ba3209aa28a62565b721 (patch)
treec6bf609292b6f3a80754c2d01cc8855a36ac7a37 /runtime/prop.c
parent9374a46543e9c43c009f80def8c3b2506b0b377e (diff)
downloadrsyslog-f1040389ccb2430b9ab2ba3209aa28a62565b721.tar.gz
Imported Upstream version 8.2.1upstream/8.2.1
Diffstat (limited to 'runtime/prop.c')
-rw-r--r--runtime/prop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/prop.c b/runtime/prop.c
index cb89fac..fa067bd 100644
--- a/runtime/prop.c
+++ b/runtime/prop.c
@@ -73,7 +73,7 @@ ENDobjDestruct(prop)
/* set string, we make our own private copy! This MUST only be called BEFORE
* ConstructFinalize()!
*/
-static rsRetVal SetString(prop_t *pThis, uchar *psz, int len)
+static rsRetVal SetString(prop_t *pThis, const uchar *psz, const int len)
{
DEFiRet;
ISOBJ_TYPE_assert(pThis, prop);
@@ -142,7 +142,7 @@ static rsRetVal AddRef(prop_t *pThis)
* convenience, it is alos (very, very) slightly faster.
* rgerhards, 2009-07-01
*/
-static rsRetVal CreateStringProp(prop_t **ppThis, uchar* psz, int len)
+static rsRetVal CreateStringProp(prop_t **ppThis, const uchar* psz, const int len)
{
DEFiRet;
propConstruct(ppThis);
@@ -161,7 +161,7 @@ static rsRetVal CreateStringProp(prop_t **ppThis, uchar* psz, int len)
* existing property).
* rgerhards, 2009-07-01
*/
-rsRetVal CreateOrReuseStringProp(prop_t **ppThis, uchar *psz, int len)
+rsRetVal CreateOrReuseStringProp(prop_t **ppThis, const uchar *psz, const int len)
{
uchar *pszPrev;
int lenPrev;