From 5127d706582e83b800e413b7ea7f205f6559bada Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 15 Jan 2008 09:21:41 +0000 Subject: [PATCH] 2008-01-15 10:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c * added missing 'const' to few variable declarations --- harbour/ChangeLog | 4 ++++ harbour/source/rdd/usrrdd/usrrdd.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ad143782e8..c0077390d9 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2008-01-15 10:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rdd/usrrdd/usrrdd.c + * added missing 'const' to few variable declarations + 2008-01-14 19:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * replaced TAB with SPACEs diff --git a/harbour/source/rdd/usrrdd/usrrdd.c b/harbour/source/rdd/usrrdd/usrrdd.c index 6e2d09908c..1376d66b09 100644 --- a/harbour/source/rdd/usrrdd/usrrdd.c +++ b/harbour/source/rdd/usrrdd/usrrdd.c @@ -2576,7 +2576,7 @@ static ERRCODE hb_usrRddInfo( LPRDDNODE pRDD, USHORT uiInfoType, ULONG ulConnect } -static RDDFUNCS usrFuncTable = +static const RDDFUNCS usrFuncTable = { /* Movement and positioning methods */ /* ( DBENTRYP_BP ) */ hb_usrBof, /* Bof */ @@ -2702,7 +2702,7 @@ static RDDFUNCS usrFuncTable = /* ( DBENTRYP_SVP ) */ NULL /* WhoCares */ }; -static RDDFUNCS rddFuncTable = +static const RDDFUNCS rddFuncTable = { /* Movement and positioning methods */ /* ( DBENTRYP_BP ) */ NULL, /* Bof */ @@ -2847,7 +2847,8 @@ HB_FUNC( USRRDD_GETFUNCTABLE ) if( puiCount && pSelfTable && pSuperTable && pMethods ) { RDDFUNCS funcTable; - DBENTRYP_V * pFunction, * pUsrFunction, * pRddFunction; + DBENTRYP_V * pFunction; + const DBENTRYP_V * pUsrFunction, * pRddFunction; * puiCount = RDDFUNCSCOUNT; uiSize = ( USHORT ) hb_arrayLen( pMethods );