cleanup: add missing consts.

This commit is contained in:
ehouse 2006-09-08 06:43:59 +00:00
parent f73836a0ce
commit e471250e1e
2 changed files with 2 additions and 4 deletions

View file

@ -62,7 +62,7 @@ static void palm_dictionary_destroy( DictionaryCtxt* dict );
static XP_U16 countSpecials( FaceType* ptr, UInt16 nChars ); static XP_U16 countSpecials( FaceType* ptr, UInt16 nChars );
static void setupSpecials( MPFORMAL PalmDictionaryCtxt* ctxt, static void setupSpecials( MPFORMAL PalmDictionaryCtxt* ctxt,
Xloc_specialEntry* specialStart, XP_U16 nSpecials ); Xloc_specialEntry* specialStart, XP_U16 nSpecials );
static array_edge* palm_dict_edge_for_index_multi( DictionaryCtxt* dict, static array_edge* palm_dict_edge_for_index_multi( const DictionaryCtxt* dict,
XP_U32 index ); XP_U32 index );
DictionaryCtxt* DictionaryCtxt*
@ -441,7 +441,7 @@ palm_dictionary_destroy( DictionaryCtxt* dict )
#ifdef OVERRIDE_EDGE_FOR_INDEX #ifdef OVERRIDE_EDGE_FOR_INDEX
static array_edge* static array_edge*
palm_dict_edge_for_index_multi( DictionaryCtxt* dict, XP_U32 index ) palm_dict_edge_for_index_multi( const DictionaryCtxt* dict, XP_U32 index )
{ {
PalmDictionaryCtxt* ctxt = (PalmDictionaryCtxt*)dict; PalmDictionaryCtxt* ctxt = (PalmDictionaryCtxt*)dict;
array_edge* result; array_edge* result;

View file

@ -26,8 +26,6 @@
DictionaryCtxt* palm_dictionary_make( MPFORMAL PalmAppGlobals* globals, DictionaryCtxt* palm_dictionary_make( MPFORMAL PalmAppGlobals* globals,
XP_UCHAR* dictName, PalmDictList* dl ); XP_UCHAR* dictName, PalmDictList* dl );
/* might eventually belong in the superclass */
XP_UCHAR* dict_getName( DictionaryCtxt* dict );
#ifdef NODE_CAN_4 #ifdef NODE_CAN_4
void offerConvertOldDicts( PalmAppGlobals* globals ); void offerConvertOldDicts( PalmAppGlobals* globals );