OS/2 bustage - PR_CALLBACK

This commit is contained in:
mkaply%us.ibm.com 2001-08-05 13:46:27 +00:00
parent dd8fe2476c
commit 4047a34c41
2 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ struct GetDirectories
DIR_Server* mServer;
};
PRBool GetDirectories_getDirectory (nsHashKey *aKey, void *aData, void* closure)
PRBool PR_CALLBACK GetDirectories_getDirectory (nsHashKey *aKey, void *aData, void* closure)
{
GetDirectories* getDirectories = (GetDirectories* )closure;

View File

@ -182,7 +182,7 @@ struct closureStruct
* into the associated position of the key and
* value arrays
*/
static PRBool enumerateEntries(nsHashKey *aKey, void *aData, void* closure)
PR_STATIC_CALLBACK(PRBool) enumerateEntries(nsHashKey *aKey, void *aData, void* closure)
{
closureStruct* s = NS_REINTERPRET_CAST(closureStruct*, closure);
nsCStringKey* key = NS_REINTERPRET_CAST(nsCStringKey*, aKey);