From ff23b14240a2d72b323fdf626903ddb9220ad0ef Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Wed, 28 Nov 2001 08:43:30 +0000 Subject: [PATCH] Fix OS/2 PR_CALLBACK bustage. git-svn-id: svn://10.0.0.236/trunk@109126 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsHTMLTags.cpp | 4 ++-- mozilla/parser/htmlparser/src/nsHTMLTags.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/htmlparser/src/nsHTMLTags.cpp b/mozilla/htmlparser/src/nsHTMLTags.cpp index d5c7c5978f7..c21b7ed31a7 100644 --- a/mozilla/htmlparser/src/nsHTMLTags.cpp +++ b/mozilla/htmlparser/src/nsHTMLTags.cpp @@ -294,7 +294,7 @@ static PRInt32 gTableRefCount; static PLHashTable* gTagTable; -static PLHashNumber +PR_STATIC_CALLBACK(PLHashNumber) HTMLTagsHashCodeUCPtr(const void *key) { const PRUnichar *str = (const PRUnichar *)key; @@ -302,7 +302,7 @@ HTMLTagsHashCodeUCPtr(const void *key) return nsCRT::HashCode(str); } -static PRIntn +PR_STATIC_CALLBACK(PRIntn) HTMLTagsKeyCompareUCPtr(const void *key1, const void *key2) { const PRUnichar *str1 = (const PRUnichar *)key1; diff --git a/mozilla/parser/htmlparser/src/nsHTMLTags.cpp b/mozilla/parser/htmlparser/src/nsHTMLTags.cpp index d5c7c5978f7..c21b7ed31a7 100644 --- a/mozilla/parser/htmlparser/src/nsHTMLTags.cpp +++ b/mozilla/parser/htmlparser/src/nsHTMLTags.cpp @@ -294,7 +294,7 @@ static PRInt32 gTableRefCount; static PLHashTable* gTagTable; -static PLHashNumber +PR_STATIC_CALLBACK(PLHashNumber) HTMLTagsHashCodeUCPtr(const void *key) { const PRUnichar *str = (const PRUnichar *)key; @@ -302,7 +302,7 @@ HTMLTagsHashCodeUCPtr(const void *key) return nsCRT::HashCode(str); } -static PRIntn +PR_STATIC_CALLBACK(PRIntn) HTMLTagsKeyCompareUCPtr(const void *key1, const void *key2) { const PRUnichar *str1 = (const PRUnichar *)key1;