@@ -679,7 +679,7 @@ void Dict_DisableResize(void)
679679 dict_can_resize = 0 ;
680680}
681681
682- static unsigned int StringCopyKeyDict_KeyHash (const void * key )
682+ unsigned int StringKeyDict_KeyHash (const void * key )
683683{
684684 const char * buf = key ;
685685 unsigned int hash = dict_hash_function_seed ;
@@ -689,7 +689,7 @@ static unsigned int StringCopyKeyDict_KeyHash(const void *key)
689689 return hash ;
690690}
691691
692- static int StringCopyKeyDict_KeyCompare (void * privdata , const void * key1 ,
692+ int StringKeyDict_KeyCompare (void * privdata , const void * key1 ,
693693 const void * key2 )
694694{
695695 if (strcmp (key1 , key2 ) == 0 ) {
@@ -698,22 +698,22 @@ static int StringCopyKeyDict_KeyCompare(void *privdata, const void *key1,
698698 return 0 ;
699699}
700700
701- static void * StringCopyKeyDict_KeyDup (void * privdata , const void * key )
701+ void * StringKeyDict_KeyDup (void * privdata , const void * key )
702702{
703703 char * newkey = malloc ((strlen (key ) + 1 ) * sizeof (char ));
704704 strcpy (newkey , key );
705705 return newkey ;
706706}
707707
708- static void StringCopyKeyDict_KeyDestructor (void * privdata , void * key )
708+ void StringKeyDict_KeyDestructor (void * privdata , void * key )
709709{
710710 free (key );
711711}
712712
713- DictType DictType_StringKey = { StringCopyKeyDict_KeyHash , NULL , NULL ,
714- StringCopyKeyDict_KeyCompare , NULL , NULL };
713+ DictType DictType_StringKey = { StringKeyDict_KeyHash , NULL , NULL ,
714+ StringKeyDict_KeyCompare , NULL , NULL };
715715
716716DictType DictType_StringCopyKey = {
717- StringCopyKeyDict_KeyHash , StringCopyKeyDict_KeyDup , NULL ,
718- StringCopyKeyDict_KeyCompare , StringCopyKeyDict_KeyDestructor , NULL
717+ StringKeyDict_KeyHash , StringKeyDict_KeyDup , NULL ,
718+ StringKeyDict_KeyCompare , StringKeyDict_KeyDestructor , NULL
719719};
0 commit comments