From 1ea869ec5460806841ab4feacf24e25c288a5760 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 29 Nov 2013 09:16:03 +0100 Subject: use const keyword at (some) appropriate places --- runtime/errmsg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/errmsg.h') 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! */ -- cgit v1.2.3