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
This commit is contained in:
Przemyslaw Czerpak
2008-01-15 09:21:41 +00:00
parent 18f80120f6
commit 5127d70658
2 changed files with 8 additions and 3 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
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

View File

@@ -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 );