add consts; remove logging.

This commit is contained in:
ehouse 2007-03-18 23:48:00 +00:00
parent 242e71f04a
commit 90d285c593
4 changed files with 4 additions and 9 deletions

View file

@ -67,7 +67,7 @@ getNthDict( const PalmDictList* dl, short n, DictListEntry** dle )
} /* getNthDict */
XP_Bool
getDictWithName( const PalmDictList* dl, XP_UCHAR* name,
getDictWithName( const PalmDictList* dl, const XP_UCHAR* name,
DictListEntry** dlep )
{
XP_Bool result = XP_FALSE;
@ -119,7 +119,7 @@ getDictWithName( const PalmDictList* dl, XP_UCHAR* name,
} /* getDictWithName */
void
cacheDictForName( PalmDictList* dl, XP_UCHAR* dictName,
cacheDictForName( PalmDictList* dl, const XP_UCHAR* dictName,
DictionaryCtxt* dict )
{
DictListEntry* dle;

View file

@ -44,9 +44,9 @@ PalmDictList* DictListMake( MPFORMAL_NOCOMMA );
void DictListFree( MPFORMAL PalmDictList* dl );
XP_U16 DictListCount( PalmDictList* dl );
XP_Bool getDictWithName( const PalmDictList* dl, unsigned char* name,
XP_Bool getDictWithName( const PalmDictList* dl, const unsigned char* name,
DictListEntry** dle );
void cacheDictForName( PalmDictList* dl, XP_UCHAR* dictName,
void cacheDictForName( PalmDictList* dl, const XP_UCHAR* dictName,
DictionaryCtxt* ctxt );
void removeFromDictCache( PalmDictList* dl, XP_UCHAR* dictName );

View file

@ -1203,8 +1203,6 @@ btSocketProcArmEntry( const void* XP_UNUSED_DBG(emulStateP),
asm( "mov %0, r10" : "=r" (oldR10) );
asm( "mov r10, %0" : : "r" (state->gotTable) );
LOG_FUNC();
XP_ASSERT( emulStateP == state->emulStateP );
XP_ASSERT( call68KFuncP == state->call68KFuncP );

View file

@ -418,8 +418,6 @@ drawFocusRingOnGadget( XP_U16 idLow, XP_U16 idHigh )
XP_S16 index;
XP_U16 focusID;
LOG_FUNC();
form = FrmGetActiveForm();
index = FrmGetFocus( form );
if ( index >= 0 ) {
@ -438,7 +436,6 @@ drawFocusRingOnGadget( XP_U16 idLow, XP_U16 idHigh )
XP_ASSERT( err == errNone );
}
}
LOG_RETURN_VOID();
} /* drawFocusRingOnGadget */
XP_Bool