From 8c366d4625d15687b5317ace2b0f5dbdcae465d5 Mon Sep 17 00:00:00 2001 From: "mcmullen%netscape.com" Date: Fri, 5 Mar 1999 21:35:23 +0000 Subject: [PATCH] Made a function static to remove a warning. --- base/src/nsProperties.cpp | 2 +- xpcom/ds/nsProperties.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/nsProperties.cpp b/base/src/nsProperties.cpp index aff3c79d3c9d..395d15cb8782 100644 --- a/base/src/nsProperties.cpp +++ b/base/src/nsProperties.cpp @@ -61,7 +61,7 @@ nsProperties::nsProperties() mTable = nsnull; } -PR_CALLBACK PRIntn +PR_STATIC_CALLBACK(PRIntn) FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg) { delete[] (PRUnichar*)he->key; diff --git a/xpcom/ds/nsProperties.cpp b/xpcom/ds/nsProperties.cpp index aff3c79d3c9d..395d15cb8782 100644 --- a/xpcom/ds/nsProperties.cpp +++ b/xpcom/ds/nsProperties.cpp @@ -61,7 +61,7 @@ nsProperties::nsProperties() mTable = nsnull; } -PR_CALLBACK PRIntn +PR_STATIC_CALLBACK(PRIntn) FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg) { delete[] (PRUnichar*)he->key;