From 1fe6f88256ea17d5f8ab9eebafcad1666a336837 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Fri, 6 Apr 2001 00:33:19 +0000 Subject: [PATCH] Fix OS/2 tinderbox bustage (PR_CALLBACK). r=disttsc@bart.nl --- netwerk/cache/src/nsDiskCacheDevice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netwerk/cache/src/nsDiskCacheDevice.cpp b/netwerk/cache/src/nsDiskCacheDevice.cpp index 5a6644a17a0..b09d8ed5d07 100644 --- a/netwerk/cache/src/nsDiskCacheDevice.cpp +++ b/netwerk/cache/src/nsDiskCacheDevice.cpp @@ -1510,7 +1510,8 @@ nsresult nsDiskCacheDevice::clobberDiskCache() } -static int compareRecords(const void* e1, const void* e2, void* /*unused*/) +PR_STATIC_CALLBACK(int) +compareRecords(const void* e1, const void* e2, void* /*unused*/) { const nsDiskCacheRecord* r1 = (const nsDiskCacheRecord*) e1; const nsDiskCacheRecord* r2 = (const nsDiskCacheRecord*) e2;